-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: CI, Flaky Test
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This was already "fixed" problem, but apparently not all the places were fixed. The pattern is the same - we start measuring before iteration even begins. The fix is the same as in NODE-7028 but mapped to other places.
const start = performance.now(); const result = await willBeResultBlocked; const end = performance.now(); expect(end - start).to.be.lessThan(10);
In particular this test: https://github.com/mongodb/node-mongodb-native/blob/main/test/integration/node-specific/abort_signal.test.ts#L423
Needs to be changed to something like this:
let start; onAbort(() => start = performance.now()); const result = await willBeResultBlocked; const end = performance.now(); expect(end - start).to.be.lessThan(10);
(But check for other occurrences)
- is related to
-
NODE-7028 Flaky: AbortSignal Support when <command> is given a signal [8]
-
- Closed
-