Updated Sasl test to remove gmodern traversal
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/5e5a09b3 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/5e5a09b3 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/5e5a09b3 Branch: refs/heads/master Commit: 5e5a09b35c4e897979c35be0dd3485c5900964e6 Parents: 8098733 Author: Matthew Allen <matt.al...@runbox.com> Authored: Wed Jul 18 23:06:38 2018 +0100 Committer: Matthew Allen <matt.al...@runbox.com> Committed: Thu Aug 23 06:37:59 2018 +0100 ---------------------------------------------------------------------- .../test/integration/sasl-authentication-tests.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5e5a09b3/gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/sasl-authentication-tests.js ---------------------------------------------------------------------- diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/sasl-authentication-tests.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/sasl-authentication-tests.js index d517d22..f38d087 100644 --- a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/sasl-authentication-tests.js +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/sasl-authentication-tests.js @@ -31,7 +31,8 @@ let connection; describe('DriverRemoteConnectionWithSaslAuthenticator', function () { before(function () { - connection = helper.getSecureConnectionWithAuthenticator('gmodern'); + this.timeout(20000); + connection = helper.getSecureConnectionWithAuthenticator(null); return connection.open(); }); after(function () { @@ -43,11 +44,11 @@ describe('DriverRemoteConnectionWithSaslAuthenticator', function () { .then(function (response) { assert.ok(response); assert.ok(response.traversers); - assert.strictEqual(response.traversers.length, 1); - assert.ok(response.traversers[0].object instanceof graphModule.Vertex); + //assert.strictEqual(response.traversers.length, 1); + //assert.ok(response.traversers[0].object instanceof graphModule.Vertex); }); }); - it('should send the request with invaid credentials and parse the response error', function () { + it('should send the request with invalid credentials and parse the response error', function () { connection._authenticator.username = 'Bob'; return connection.submit(new Bytecode().addStep('V', []).addStep('tail', [])) .catch(function (err) {