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 2020/05/27 22:44:01 UTC
[tinkerpop] 01/03: Change test to use a port that doesn't match
standard 8182
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit f83e3c6f4c143b4362ed9061307a184d977cb69f
Author: Stephen Mallette <sp...@genoprime.com>
AuthorDate: Wed May 27 18:42:15 2020 -0400
Change test to use a port that doesn't match standard 8182
Sometimes I have a Gremlin Server running in the background on 8182 and then build and watch javascript tests tank with an obscure looking error that I never take to realize is related to these tests. CTR
---
.../src/main/javascript/gremlin-javascript/test/unit/client-test.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/client-test.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/client-test.js
index b651e37..956a01a 100644
--- a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/client-test.js
+++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/client-test.js
@@ -36,7 +36,7 @@ describe('Client', function () {
}
};
- const customClient = new Client('ws://localhost:8182', {traversalSource: 'g'});
+ const customClient = new Client('ws://localhost:9321', {traversalSource: 'g'});
customClient._connection = connectionMock;
customClient.submit(query)
});
@@ -51,7 +51,7 @@ describe('Client', function () {
}
};
- const customClient = new Client('ws://localhost:8182', {traversalSource: 'g', processor: customOpProcessor});
+ const customClient = new Client('ws://localhost:9321', {traversalSource: 'g', processor: customOpProcessor});
customClient._connection = connectionMock;
customClient.submit(query)
});