Restore larger cutoff for total test time.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/67cc12f0 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/67cc12f0 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/67cc12f0 Branch: refs/heads/TINKERPOP-1489 Commit: 67cc12f0d5c2682e40754198818a1d19d7d08fdd Parents: bbd3ee5 Author: sjudeng <[email protected]> Authored: Sat Jun 17 18:39:09 2017 -0500 Committer: sjudeng <[email protected]> Committed: Sat Jun 17 18:39:09 2017 -0500 ---------------------------------------------------------------------- .../process/traversal/TraversalInterruptionComputerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/67cc12f0/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalInterruptionComputerTest.java ---------------------------------------------------------------------- diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalInterruptionComputerTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalInterruptionComputerTest.java index d3994f1..7545f18 100644 --- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalInterruptionComputerTest.java +++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalInterruptionComputerTest.java @@ -95,9 +95,9 @@ public class TraversalInterruptionComputerTest extends AbstractGremlinProcessTes t.start(); - // total time for test should not exceed 1 second - this prevents the test from just hanging and allows + // total time for test should not exceed 5 seconds - this prevents the test from just hanging and allows // it to finish with failure - assertThat(startedIterating.await(1000, TimeUnit.MILLISECONDS), CoreMatchers.is(true)); + assertThat(startedIterating.await(5000, TimeUnit.MILLISECONDS), CoreMatchers.is(true)); t.interrupt(); t.join();
