diff options
author | 2020-04-02 17:44:21 +0000 | |
---|---|---|
committer | 2020-04-02 17:44:21 +0000 | |
commit | 640aaf64a0b28b53a7425c17b9065a46c29d3587 (patch) | |
tree | 9114389eed3b1853158f4648af8b674a5b35664a /testsuites/integration/integration-executor-test | |
parent | cc0367b240fcb06bfb5964709c6932139c90cbf7 (diff) | |
parent | 30f94aa98ebc8931e224cdd2e5b8c25949379065 (diff) |
Merge "Fix hanging timeout on Executor test"
Diffstat (limited to 'testsuites/integration/integration-executor-test')
-rw-r--r-- | testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexEngineJRuby.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexEngineJRuby.java b/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexEngineJRuby.java index f344add45..8544e35dc 100644 --- a/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexEngineJRuby.java +++ b/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexEngineJRuby.java @@ -21,6 +21,8 @@ package org.onap.policy.apex.testsuites.integration.executor.engine; +import static org.assertj.core.api.Assertions.assertThatCode; + import java.io.IOException; import org.junit.After; @@ -96,7 +98,8 @@ public class TestApexEngineJRuby { */ @Test public void testApexEngineJRuby() throws ApexException, InterruptedException, IOException { - new TestApexEngine("JRUBY", engineParameters); - new TestApexEngine("JRUBY", engineParameters); + assertThatCode(() -> { + new TestApexEngine("JRUBY", engineParameters); + }).doesNotThrowAnyException(); } } |