Skip to content

Commit 71daf0b

Browse files
committed
Bumps timeouts in tests
This tests occasionally times out during setup. This change attempts to avoid this problem by increasing the max length of the test.
1 parent 3bb10d8 commit 71daf0b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

extensions/ql-vscode/src/vscode-tests/cli-integration/queries.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { QueryRunner } from '../../queryRunner';
2121
* Integration tests for queries
2222
*/
2323
describe('Queries', function() {
24-
this.timeout(20000);
24+
this.timeout(20_000);
2525

2626
before(function() {
2727
skipIfNoCodeQL(this);
@@ -42,7 +42,9 @@ describe('Queries', function() {
4242
let qlFile: string;
4343

4444

45-
beforeEach(async () => {
45+
beforeEach(async function() {
46+
this.timeout(20_000);
47+
4648
sandbox = sinon.createSandbox();
4749

4850
try {
@@ -89,7 +91,8 @@ describe('Queries', function() {
8991
}
9092
});
9193

92-
afterEach(async () => {
94+
afterEach(async function() {
95+
this.timeout(20_000);
9396
try {
9497
sandbox.restore();
9598
safeDel(qlpackFile);

0 commit comments

Comments
 (0)