diff --git a/module-owlapi/src/test/java/openllet/pellet/owlapi/test/OWLWGTestCase.java b/module-owlapi/src/test/java/openllet/pellet/owlapi/test/OWLWGTestCase.java index 824886d9..72cc44a4 100644 --- a/module-owlapi/src/test/java/openllet/pellet/owlapi/test/OWLWGTestCase.java +++ b/module-owlapi/src/test/java/openllet/pellet/owlapi/test/OWLWGTestCase.java @@ -53,11 +53,13 @@ public class OWLWGTestCase public static Object _lock = new Object(); + public static long TIMEOUT_SEC = 60; + /** * Ensure that test cases timeout after 10 seconds. This is in slightly broader than the one second timeout for each PelletOA3TestRunner. */ @Rule - public Timeout timeout = new Timeout(10, TimeUnit.SECONDS); + public Timeout timeout = new Timeout(TIMEOUT_SEC, TimeUnit.SECONDS); /** * The dockerVM that run Travis is this time slow my i5-3570K @@ -148,7 +150,7 @@ public void runTestCase() { KnowledgeBaseImpl._logger.setLevel(Level.WARNING); - final Collection results = new PelletTestRunner().run(_test, 1 * 1000 * _travisLowSpeed); // One second of timeout : really enough if every thing work well. + final Collection results = new PelletTestRunner().run(_test, TIMEOUT_SEC * 1000 * _travisLowSpeed); for (final TestRunResult result : results) { final RunResultType resultType = result.getResultType();