Skip to content

Commit 194c28e

Browse files
committed
Small fixes to the integration test to make it supports the server 4.3
1 parent b6abf6f commit 194c28e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

test/rx/transaction.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ describe('#integration-rx transaction', () => {
693693
.toPromise()
694694
expect(result).toEqual([
695695
Notification.createError(
696-
jasmine.stringMatching(/Unexpected end of input/)
696+
jasmine.stringMatching(/Unexpected end of input|Invalid input/)
697697
)
698698
])
699699
}

test/session.test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,14 @@ describe('#integration session', () => {
387387
'Query failed after a long running query was terminated',
388388
error
389389
)
390+
done.fail.bind(done)
390391
})
391392
})
392393

393394
// wait some time than close the session with a long running query
394395
setTimeout(() => {
395396
session.close().catch(done.fail.bind(done))
396-
}, 1000)
397+
}, 200)
397398
}, 70000)
398399

399400
/* flaky

testkit/stress.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def run(args):
1111
os.environ['STRESS_TEST_MODE'] = 'fastest'
1212
os.environ['RUNNING_TIME_IN_SECONDS'] = \
1313
os.environ.get('TEST_NEO4J_STRESS_DURATION', 0)
14-
run(["npm", "run", "run-stress-tests"])
14+
run(["gulp", "run-stress-tests-without-jasmine"])

0 commit comments

Comments
 (0)