Commit b2e8315
authored
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 <16024985+trivikr@users.noreply.github.com>
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 <panva.ip@gmail.com>1 parent 42fd49a commit b2e8315
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