Commit 4a6bd86
test: fix flaky test-child-process-fork-dgram
`test-child-process-fork-dgram` is unreliable on some platforms,
especially FreeBSD and AIX within the project's continuous integration
testing. It has also been observed to be flaky on macos.
* Confirm child has received the server before sending packets
* Close the server instance on the parent or child after receiving a
Refs: #8697
Fixes: #8949
Fixes: #8271
PR-URL: #9098
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>1 parent c8dccf2 commit 4a6bd86Copy full SHA for 4a6bd86
File tree
Expand file treeCollapse file tree
2 files changed
+43
-61
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
2 files changed
+43
-61
lines changedOpen diff view settings
Collapse file
test/parallel/parallel.status
Copy file name to clipboardExpand all lines: test/parallel/parallel.status-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | | - |
39 | | - |
40 | | - |
Collapse file
test/parallel/test-child-process-fork-dgram.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-dgram.js+43-58Lines changed: 43 additions & 58 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | 7 | |
15 | 8 | |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
20 | 13 | |
21 | 14 | |
22 | | - |
23 | | - |
| 15 | + |
24 | 16 | |
25 | 17 | |
26 | 18 | |
27 | | - |
28 | 19 | |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
41 | 31 | |
42 | 32 | |
43 | 33 | |
44 | | - |
45 | | - |
46 | | - |
| 34 | + |
| 35 | + |
| 36 | + |
47 | 37 | |
48 | | - |
| 38 | + |
49 | 39 | |
50 | 40 | |
51 | 41 | |
52 | 42 | |
53 | | - |
| 43 | + |
54 | 44 | |
| 45 | + |
55 | 46 | |
56 | 47 | |
57 | | - |
58 | | - |
| 48 | + |
| 49 | + |
59 | 50 | |
60 | | - |
| 51 | + |
61 | 52 | |
62 | 53 | |
| 54 | + |
| 55 | + |
63 | 56 | |
64 | 57 | |
65 | | - |
66 | | - |
67 | 58 | |
68 | 59 | |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
| 60 | + |
| 61 | + |
81 | 62 | |
| 63 | + |
82 | 64 | |
83 | 65 | |
84 | 66 | |
85 | 67 | |
86 | 68 | |
87 | 69 | |
88 | | - |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
89 | 82 | |
90 | | - |
91 | 83 | |
92 | 84 | |
93 | 85 | |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
| 86 | + |
102 | 87 | |
103 | 88 | |
104 | 89 | |
|
0 commit comments