Skip to content

Commit 09e6fa6

Browse files
committed
Run stress test out of the npm
1 parent df08155 commit 09e6fa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/stress.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ describe('#integration stress tests', () => {
402402
return new Error('Received undefined result')
403403
} else if (
404404
result.records.length === 0 &&
405-
context.writeCommandsRun < TEST_MODE.parallelism
405+
context.writeCommandsRun < TEST_MODE.parallelism * 2
406406
) {
407407
// it is ok to receive no nodes back for read queries at the beginning of the test
408408
return null

testkit/stress.py

Lines changed: 1 addition & 1 deletion
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)