Skip to content

Commit 84239f9

Browse files
committed
Skip test on versions later than 3.5
1 parent 748be19 commit 84239f9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/v1/driver.test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import sharedNeo4j from '../internal/shared-neo4j';
2222
import FakeConnection from '../internal/fake-connection';
2323
import lolex from 'lolex';
2424
import {DEFAULT_ACQUISITION_TIMEOUT, DEFAULT_MAX_SIZE} from '../../src/v1/internal/pool-config';
25-
import {ServerVersion, VERSION_3_1_0} from '../../src/v1/internal/server-version';
25+
import { ServerVersion, VERSION_3_1_0, VERSION_3_5_0 } from '../../src/v1/internal/server-version';
2626
import testUtils from '../internal/test-utils';
2727

2828
describe('driver', () => {
@@ -201,6 +201,10 @@ describe('driver', () => {
201201
});
202202

203203
it('should fail nicely when connecting with routing to standalone server', done => {
204+
if (serverVersion.compareTo(VERSION_3_5_0) > 0) {
205+
done();
206+
}
207+
204208
// Given
205209
driver = neo4j.driver("bolt+routing://localhost", sharedNeo4j.authToken);
206210

0 commit comments

Comments
 (0)