Commit 5e65181
test: handling failure cases properly
Refer: #1543
When this test fails, it leaves dead processes in the system. This
patch makes sure that the child processes exit first, in case of
errors.
PR-URL: #2206
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent c48b95e commit 5e65181Copy full SHA for 5e65181
File tree
Expand file treeCollapse file tree
1 file changed
+32
-21
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+32
-21
lines changedOpen diff view settings
Collapse file
test/parallel/test-cluster-eaccess.js
Copy file name to clipboard+32-21Lines changed: 32 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
12 | 5 | |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
13 | 12 | |
14 | 13 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
19 | 26 | |
20 | 27 | |
21 | | - |
22 | | - |
| 28 | + |
| 29 | + |
23 | 30 | |
24 | 31 | |
25 | 32 | |
26 | 33 | |
27 | 34 | |
28 | 35 | |
29 | | - |
30 | 36 | |
| 37 | + |
31 | 38 | |
32 | 39 | |
33 | 40 | |
34 | 41 | |
35 | 42 | |
36 | | - |
37 | | - |
38 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
39 | 49 | |
40 | 50 | |
41 | 51 | |
| ||
45 | 55 | |
46 | 56 | |
47 | 57 | |
48 | | - |
| 58 | + |
| 59 | + |
49 | 60 | |
0 commit comments