| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,8 +5,6 @@ prefix parallel | |||
| 5 | 5 | # sample-test : PASS,FLAKY | |
| 6 | 6 | ||
| 7 | 7 | [true] # This section applies to all platforms | |
| 8 | - # https://github.com/nodejs/node/issues/35881 | ||
| 9 | - test-http2-respond-file-error-pipe-offset: PASS,FLAKY | ||
| 10 | 8 | ||
| 11 | 9 | [$system==win32] | |
| 12 | 10 | # https://github.com/nodejs/node/issues/20750 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,4 +56,11 @@ server.listen(0, () => { | |||
| 56 | 56 | req.end(); | |
| 57 | 57 | }); | |
| 58 | 58 | ||
| 59 | - fs.writeFile(pipeName, 'Hello, world!\n', common.mustSucceed()); | ||
| 59 | + fs.writeFile(pipeName, 'Hello, world!\n', common.mustCall((err) => { | ||
| 60 | + // It's possible for the reading end of the pipe to get the expected error | ||
| 61 | + // and break everything down before we're finished, so allow `EPIPE` but | ||
| 62 | + // no other errors. | ||
| 63 | + if (err?.code !== 'EPIPE') { | ||
| 64 | + assert.ifError(err); | ||
| 65 | + } | ||
| 66 | + })); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments