Skip to content

Commit

Permalink
Increase wait time for slow test run
Browse files Browse the repository at this point in the history
The test has been failing quite often lately, probably simply because it
didn't wait long enough for the new graph to be created, at least for
slow hardware like we have with GH Actions.

Fixes JanusGraph#3849

Signed-off-by: Florian Hockmann <[email protected]>
  • Loading branch information
FlorianHockmann committed Jun 28, 2023
1 parent 2e54144 commit 37cf52d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void bindingShouldExistAfterGraphIsCreated() throws Exception {
"org.janusgraph.util.system.ConfigurationUtil.loadMapConfiguration(map));" +
"org.janusgraph.core.ConfiguredGraphFactory.create(\"newGraph\")");

Thread.sleep(1000,0);
Thread.sleep(3000,0);

//assert newGraph is indeed bound
assertEquals(0, client.submit("newGraph.vertices().size()").all().get().get(0).getInt());
Expand Down

0 comments on commit 37cf52d

Please sign in to comment.