GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix flaky test-http2-respond-file-error-pipe-offset · nodejs/node@cd1da67

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • parallel.status
    • test-http2-respond-file-error-pipe-offset.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/parallel.status‎

Copy file name to clipboardExpand all lines: test/parallel/parallel.status
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ prefix parallel
55
# sample-test : PASS,FLAKY
66

77
[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
108

119
[$system==win32]
1210
# https://github.com/nodejs/node/issues/20750
Collapse file

‎test/parallel/test-http2-respond-file-error-pipe-offset.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http2-respond-file-error-pipe-offset.js
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,11 @@ server.listen(0, () => {
5656
req.end();
5757
});
5858

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+
}));

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.