Commit 3b193de
test: fix flaky test-cluster-dgram-2
There is no guarantee that a dgram packet will be received. The test is
currently written to only send exactly as many dgram packets as required
assuming they are all received. As a result, failures like this may
occur (from CI):
```
not ok 719 parallel/test-cluster-dgram-2
---
duration_ms: 120.39
severity: fail
stack: |-
timeout
```
This change has the workers send packets continuously until disconnect.
PR-URL: #9791
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>1 parent 3f1b068 commit 3b193deCopy full SHA for 3b193de
File tree
Expand file treeCollapse file tree
1 file changed
+8
-1
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+8
-1
lines changedOpen diff view settings
Collapse file
test/parallel/test-cluster-dgram-2.js
Copy file name to clipboardExpand all lines: test/parallel/test-cluster-dgram-2.js+8-1Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
| 61 | + |
| 62 | + |
61 | 63 | |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
62 | 69 | |
0 commit comments