fix lint
This commit is contained in:
parent
82c2fc63b4
commit
2fe5fa6aaf
|
|
@ -107,7 +107,7 @@ export class TaskRunner<Context> {
|
||||||
cancelPromise?.resolve();
|
cancelPromise?.resolve();
|
||||||
const cleanup = async () => {
|
const cleanup = async () => {
|
||||||
// Upon hitting deadline we add extra 30s to actually perform cleanup, otherwise
|
// Upon hitting deadline we add extra 30s to actually perform cleanup, otherwise
|
||||||
// the task exits immediately because of the same deadline and we may continue
|
// the task exits immediately because of the same deadline and we may continue
|
||||||
// while the test workers are still running.
|
// while the test workers are still running.
|
||||||
const extraTime = timeoutWatcher.timedOut() ? 30_000 : 0;
|
const extraTime = timeoutWatcher.timedOut() ? 30_000 : 0;
|
||||||
const { status } = await teardownRunner.runDeferCleanup(context, deadline + extraTime);
|
const { status } = await teardownRunner.runDeferCleanup(context, deadline + extraTime);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue