Fix for integration test Gremlin Server connection.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/8453b61c Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/8453b61c Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/8453b61c Branch: refs/heads/master Commit: 8453b61cfd398fe53387439056315304bc22ea4f Parents: 7a5cb9c Author: Matthew Allen <matt.al...@runbox.com> Authored: Sun Jul 29 16:02:12 2018 +0100 Committer: Matthew Allen <matt.al...@runbox.com> Committed: Thu Aug 23 06:39:29 2018 +0100 ---------------------------------------------------------------------- .../src/main/javascript/gremlin-javascript/test/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8453b61c/gremlin-javascript/src/main/javascript/gremlin-javascript/test/helper.js ---------------------------------------------------------------------- diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/helper.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/helper.js index 25e9557..e1c24a3 100644 --- a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/helper.js +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/helper.js @@ -33,7 +33,7 @@ exports.getConnection = function getConnection(traversalSource) { exports.getSecureConnectionWithAuthenticator = function getConnection(traversalSource) { const authenticator = new SaslAuthenticator({ mechanism: new SaslMechanismPlain(), username: 'stephen', password: 'password', authId: os.hostname() }); - return new DriverRemoteConnection('wss://localhost:45941/gremlin', { + return new DriverRemoteConnection('ws://localhost:45941/gremlin', { traversalSource: traversalSource, authenticator: authenticator, rejectUnauthorized: false