diff --git a/li.strolch.service/src/test/java/li/strolch/execution/StartActivityExecutionServiceTest.java b/li.strolch.service/src/test/java/li/strolch/execution/StartActivityExecutionServiceTest.java index df8900cbd..aa1a1af0a 100644 --- a/li.strolch.service/src/test/java/li/strolch/execution/StartActivityExecutionServiceTest.java +++ b/li.strolch.service/src/test/java/li/strolch/execution/StartActivityExecutionServiceTest.java @@ -157,7 +157,7 @@ public class StartActivityExecutionServiceTest extends RuntimeMock { doServiceAssertResult(cert, svc, arg); // allow execution handler to do work - Thread.sleep(50); + Thread.sleep(100); try (StrolchTransaction tx = getRealm("execution").openTx(cert, StartActivityExecutionServiceTest.class)) { Action action; @@ -187,7 +187,7 @@ public class StartActivityExecutionServiceTest extends RuntimeMock { assertEquals(State.EXECUTION, action.getState()); } - Thread.sleep(150L); + Thread.sleep(200L); try (StrolchTransaction tx = getRealm("execution").openTx(cert, StartActivityExecutionServiceTest.class)) { Action action; @@ -220,7 +220,7 @@ public class StartActivityExecutionServiceTest extends RuntimeMock { assertEquals(State.EXECUTION, activity.getState()); } - Thread.sleep(100L); + Thread.sleep(200L); try (StrolchTransaction tx = getRealm("execution").openTx(cert, StartActivityExecutionServiceTest.class)) { Action action; @@ -253,7 +253,7 @@ public class StartActivityExecutionServiceTest extends RuntimeMock { assertEquals(State.EXECUTION, activity.getState()); } - Thread.sleep(150L); + Thread.sleep(200L); try (StrolchTransaction tx = getRealm("execution").openTx(cert, StartActivityExecutionServiceTest.class)) { diff --git a/li.strolch.service/src/test/resources/executiontest/data/StrolchModel.xml b/li.strolch.service/src/test/resources/executiontest/data/StrolchModel.xml index bd683b637..dbc475802 100644 --- a/li.strolch.service/src/test/resources/executiontest/data/StrolchModel.xml +++ b/li.strolch.service/src/test/resources/executiontest/data/StrolchModel.xml @@ -96,7 +96,7 @@ - +