Skip to content

Commit a1ae42b

Browse files
authored
test: increase no-errors integration timeout to 20s (#425)
- this was still occassionally failing on CI at 15s, so bump up a bit - c.f. https://github.com/ezolenko/rollup-plugin-typescript2/actions/runs/3075482590/jobs/4968935300, https://github.com/ezolenko/rollup-plugin-typescript2/actions/runs/3038898669/jobs/4893183507, https://github.com/ezolenko/rollup-plugin-typescript2/actions/runs/3038898669/jobs/4893561438, and many more - only `no-errors` was timing out, which makes sense, since it does 3 builds for the first test to test against the cache - this potentially could be optimized, but it started getting complicated to do so (including some concurrency issues) - so punting on that for now and just increasing the timeout
1 parent ffb562d commit a1ae42b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/integration/no-errors.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { RPT2Options } from "../../src/index";
77
import { filesArr } from "./fixtures/no-errors";
88
import { findName, genBundle as genBundleH } from "./helpers";
99

10-
// increase timeout to 15s for whole file since CI occassionally timed out -- these are integration and cache tests, so longer timeout is warranted
11-
jest.setTimeout(15000);
10+
// increase timeout to 20s for whole file since CI occassionally timed out -- these are integration and cache tests, so longer timeout is warranted
11+
jest.setTimeout(20000);
1212

1313
const local = (x: string) => path.resolve(__dirname, x);
1414
const testDir = local("__temp/no-errors");

0 commit comments

Comments
 (0)