Skip to content

Commit 78d1787

Browse files
authored
(#8703) - tests/integration: decrease default test timeout
browser: from 20 minutes to 20 seconds node: from 50 seconds to 5 seconds Co-authored-by: alxndrsn <alxndrsn>
1 parent e6b8c93 commit 78d1787

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

bin/test-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
: ${TIMEOUT:=50000}
3+
: ${TIMEOUT:=5000}
44
: ${REPORTER:="spec"}
55
: ${BAIL:=1}
66
: ${TYPE:="integration"}

tests/integration/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script src="../../node_modules/chai-as-promised/lib/chai-as-promised.js"></script>
1515
<script>
1616
mocha.setup({
17-
timeout:1200000,
17+
timeout: 20_000,
1818
ui: 'bdd'
1919
});
2020
var should = chai.should();

tests/integration/test.compaction.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var autoCompactionAdapters = ['local'];
55

66
adapters.forEach(function (adapter) {
77
describe('suite2 test.compaction.js-' + adapter, function () {
8+
this.timeout(120000); // 2 mins - these tests can take a while!
89

910
var dbs = {};
1011

0 commit comments

Comments
 (0)