Skip to content

Commit fa08bf4

Browse files
OrKoNDevtools-frontend LUCI CQ
authored andcommitted
Fix abort controller in e2e_non_hosted
It needs to be created for each run as it controlls a single run and not an instance of the instrumented function. Bug: none Change-Id: I892c90c3ba756f55c0ccbaff9ee9dabf34da6ed0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6694756 Reviewed-by: Nikolay Vitkov <[email protected]> Commit-Queue: Alex Rudenko <[email protected]>
1 parent 9022cd8 commit fa08bf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e_non_hosted/conductor/mocha-interface-helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class InstrumentedTestFunction {
9696
}
9797

9898
async #executeTest(context: Mocha.Context) {
99+
this.#abortController = new AbortController();
99100
AsyncScope.abortSignal = this.#abortController.signal;
100101

101102
if (this.state) {

0 commit comments

Comments
 (0)