From 8cedec370948950ba52a89b689b478d884b2c055 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 16 Jul 2020 14:15:56 +0100 Subject: Fix double initiation error on EngineServiceFacade The engineServiceFacade allows it's init() method to be called twice, the second call should return that the facade is already initialized. Issue-ID: POLICY-2720 Change-Id: Id241e232163a8812a72f92841ce7b11f59358d45 Signed-off-by: liamfallon --- .../policy/apex/core/engine/executor/TaskSelectExecutorTest.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/core-engine') diff --git a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/executor/TaskSelectExecutorTest.java b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/executor/TaskSelectExecutorTest.java index 182ce3597..edfbcf20f 100644 --- a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/executor/TaskSelectExecutorTest.java +++ b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/executor/TaskSelectExecutorTest.java @@ -128,12 +128,6 @@ public class TaskSelectExecutorTest { fail("test should not throw an exception"); } - try { - executor.executePre(0, new Properties(), incomingEvent); - } catch (Exception ex) { - assertEquals("task input fields \"[InField0]\" are missing for task \"Task0:0.0.1\"", ex.getMessage()); - } - try { executor.executePre(0, new Properties(), incomingEvent); } catch (Exception e) { -- cgit 1.2.3-korg