Skip to content

Commit cbbb97f

Browse files
committed
test(worker): give low quality-of-service workers time to boot on a loaded host
1 parent 5360bc4 commit cbbb97f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎TestRunner/app/tests/WorkerOptionsTests.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ describe("Worker platform options", function () {
22
var entry = "./workerOptions/qosWorker.js";
33

44
// Jasmine arms a spec's async timeout before calling it, so the interval
5-
// has to be raised ahead of the spec, not inside it.
5+
// has to be raised ahead of the spec, not inside it. A utility or
6+
// background thread boots a whole isolate under throttled CPU and I/O, and
7+
// on a contended CI host that alone has taken over 30 s.
68
var originalTimeout;
79
beforeEach(function () {
810
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
9-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
11+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 120000;
1012
});
1113
afterEach(function () {
1214
jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;

0 commit comments

Comments
 (0)