equal
deleted
inserted
replaced
34 protected final void runTest() { |
34 protected final void runTest() { |
35 Helper.startInfiniteLoopThread(action); |
35 Helper.startInfiniteLoopThread(action); |
36 try { |
36 try { |
37 // adjust timeout and substract vm init and exit time |
37 // adjust timeout and substract vm init and exit time |
38 long timeout = Utils.adjustTimeout(Utils.DEFAULT_TEST_TIMEOUT); |
38 long timeout = Utils.adjustTimeout(Utils.DEFAULT_TEST_TIMEOUT); |
39 timeout *= 0.9; |
39 timeout *= 0.8; |
40 new TimeLimitedRunner(timeout, 2.0d, this::test).call(); |
40 new TimeLimitedRunner(timeout, 2.0d, this::test).call(); |
41 } catch (Exception e) { |
41 } catch (Exception e) { |
42 throw new Error("Exception occurred during test execution", e); |
42 throw new Error("Exception occurred during test execution", e); |
43 } |
43 } |
44 } |
44 } |