Commit 0f08fc2
test: make blob desiredSize assertion robust
The blob stream pull continuation runs with setImmediate(), while the
test checks desiredSize from a timer. Depending on platform scheduling,
the stream may or may not have queued the next 5-byte chunk yet.
Accept both valid intermediate states to avoid flaky failures.
Signed-off-by: Kamat, Trivikram <[email protected]>
Assisted-by: openai:gpt-5.5
PR-URL: #64106
Refs: https://github.com/nodejs/reliability/issues?q=sort%3Aupdated-desc%20%22parallel%2Ftest-blob%22
Reviewed-By: Filip Skokan <[email protected]>1 parent d0a5748 commit 0f08fc2
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
359 | 361 | | |
360 | 362 | | |
361 | 363 | | |
| |||
0 commit comments