Commit 7c35fbc
test: harden test-child-process-fork-regr-gh-2847
test-child-process-fork-regr-gh-2847 could fail depending
on timing and how messages were packed into tcp packets.
If all of the requests fit into one packet then the test
worked otherwise, otherwise errors could occur. This PR
modifies the test to be tolerant while still validating that
some of the connection can be made succesfully
Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #34591 parent ad2b272 commit 7c35fbcCopy full SHA for 7c35fbc
File tree
Expand file treeCollapse file tree
1 file changed
+23
-1
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+23
-1
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-fork-regr-gh-2847.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-regr-gh-2847.js+23-1Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
| 11 | + |
| 12 | + |
10 | 13 | |
11 | 14 | |
12 | 15 | |
| ||
25 | 28 | |
26 | 29 | |
27 | 30 | |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
28 | 46 | |
29 | 47 | |
30 | 48 | |
| ||
36 | 54 | |
37 | 55 | |
38 | 56 | |
39 | | - |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
40 | 62 | |
0 commit comments