You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2019/11/12 01:17:59 UTC

[tinkerpop] branch travis-fix updated: Make the first request in a synchronous fashion

This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch travis-fix
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/travis-fix by this push:
     new 21279d7  Make the first request in a synchronous fashion
21279d7 is described below

commit 21279d734b33c90724137b9a38214091ebc43a13
Author: stephen <sp...@gmail.com>
AuthorDate: Mon Nov 11 20:17:02 2019 -0500

    Make the first request in a synchronous fashion
---
 .../tinkerpop/gremlin/server/GremlinServerSessionIntegrateTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSessionIntegrateTest.java b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSessionIntegrateTest.java
index 07944e8..4273634 100644
--- a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSessionIntegrateTest.java
+++ b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSessionIntegrateTest.java
@@ -330,7 +330,7 @@ public class GremlinServerSessionIntegrateTest  extends AbstractGremlinServerInt
         final Cluster cluster = TestClientFactory.build().minInProcessPerConnection(16).maxInProcessPerConnection(64).create();
         final Client client = cluster.connect(name.getMethodName());
 
-        client.submitAsync("a=100;b=1000;c=10000;null");
+        client.submit("a=100;b=1000;c=10000;null").all().get();
         final int requests = 10000;
         final List<CompletableFuture<ResultSet>> futures = new ArrayList<>(requests);
         IntStream.range(0, requests).forEach(i -> {