Skip to content

Commit 5c5dd8e

Browse files
committed
test: increase all timeouts
No change to logic. This increases all test timeouts to 5000ms because I'm seeing flakiness on CI.
1 parent 7886d7c commit 5c5dd8e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/test.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ function unix() {
1818
return process.platform !== 'win32';
1919
}
2020

21-
describe('proxy', () => {
21+
describe('proxy', function describeproxy() {
22+
this.timeout(5000); // shell.exec() is slow
2223
let delVarName;
24+
2325
before(() => {
2426
// Configure shell variables so that we can use basic commands for testing
2527
// without using the ShellJS builtin
@@ -265,7 +267,7 @@ describe('proxy', () => {
265267
fs.existsSync(fa).should.equal(true);
266268
fs.existsSync(fb).should.equal(true);
267269
done();
268-
}).timeout(5000);
270+
});
269271

270272
it('avoids globs', (done) => {
271273
if (!unix()) {
@@ -287,7 +289,7 @@ describe('proxy', () => {
287289
// These files are still ok
288290
fs.existsSync(fa).should.equal(true);
289291
done();
290-
}).timeout(5000);
292+
});
291293

292294
it('escapes quotes', (done) => {
293295
if (!unix()) {

0 commit comments

Comments
 (0)