Commit 245c885
test: fix test-net-socket-constructor
So it doesn't fail when creating a socket whose `fd` is already
being watched. Test that functionality now inside a cluster
worker.
Refs: libuv/libuv#1851
Refs: libuv/libuv#1897
PR-URL: #21466
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent cd2b80c commit 245c885Copy full SHA for 245c885
File tree
Expand file treeCollapse file tree
1 file changed
+33
-19
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+33
-19
lines changedOpen diff view settings
Collapse file
test/parallel/test-net-socket-constructor.js
Copy file name to clipboardExpand all lines: test/parallel/test-net-socket-constructor.js+33-19Lines changed: 33 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
| 5 | + |
5 | 6 | |
6 | 7 | |
7 | 8 | |
| ||
25 | 26 | |
26 | 27 | |
27 | 28 | |
28 | | - |
| 29 | + |
| 30 | + |
29 | 31 | |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
39 | 40 | |
40 | | - |
41 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
42 | 47 | |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
| 48 | + |
48 | 49 | |
49 | 50 | |
50 | | - |
51 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
0 commit comments