Commit 56ca9cd1 authored by Rich Trott's avatar Rich Trott
Browse files

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: https://github.com/nodejs/node/pull/9791


Reviewed-By: default avatarSantiago Gimeno <santiago.gimeno@gmail.com>
parent 566a1513
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment