Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: parallel/test-dgram-broadcast-multi-process assumes unfiltered broadcast traffic #219

Closed
bnoordhuis opened this issue Dec 30, 2014 · 1 comment

Comments

@bnoordhuis
Copy link
Member

The test fails on systems with sane firewall/routing rules:

=== release test-dgram-broadcast-multi-process ===                             
Path: parallel/test-dgram-broadcast-multi-process
[PARENT] sent 'First message to send' to 255.255.255.255:12446
[PARENT] sent 'Second message to send' to 255.255.255.255:12446
[PARENT] sent 'Third message to send' to 255.255.255.255:12446
[PARENT] sent 'Fourth message to send' to 255.255.255.255:12446
[PARENT] sendSocket closed
[PARENT] Responses were not received within 5000 ms.
[PARENT] Fail

Not sure what to do. The test is useful and I don't want to scrap it but it makes a bad assumption. Maybe change it to use loopback instead of the first non-local interface?

bnoordhuis added a commit to bnoordhuis/io.js that referenced this issue Jan 6, 2015
parallel/test-dgram-broadcast-multi-process assumes non-local broadcast
traffic is unfiltered, an assumption that fails with, for example, the
default Fedora firewall rules.  Use a loopback interface instead.

Fixes: nodejs#219
PR-URL: nodejs#220
Reviewed-By: Fedor Indutny <[email protected]>
@bnoordhuis
Copy link
Member Author

Closing, fixed as of 52e600a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant