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 fails depending on network settings. #292

Closed
yukaReal opened this issue Mar 11, 2016 · 2 comments
Closed

Test fails depending on network settings. #292

yukaReal opened this issue Mar 11, 2016 · 2 comments

Comments

@yukaReal
Copy link
Contributor

Depending on network settings 'testSendRequestSync' test fails or passes.

[http://stackoverflow.com/questions/1881546/inetaddress-getlocalhost-throws-unknownhostexception]:
It seems that InetAddress.getLocalHost() ignores the /etc/resolv.conf but only looks at the /etc/hosts file

This is changed in java 7 compare to java 6.

Log:
Results :

Failed tests: testSendRequestSync(org.finra.datagenerator.consumer.DataConsumerTest): expected:<[test1]> but was:<[]>
testSendRequestNoHandling(org.finra.datagenerator.consumer.DataConsumerTest): expected:<[test1]> but was:<[]>
testSendRequestFromWriter(org.finra.datagenerator.consumer.DataConsumerTest): expected:<5> but was:<0>

Tests run: 195, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Data Generator Parent POM .......................... SUCCESS [ 1.464 s]
[INFO] Data Generator Common Utils ........................ SUCCESS [ 16.370 s]
[INFO] Data Generator Core Library ........................ FAILURE [02:48 min]
[INFO] Data Generator Example - Default Distributor ....... SKIPPED
[INFO] Data Generator Example - HDFS Distributor .......... SKIPPED
[INFO] Data Generator Simple CSV .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

@yukaReal
Copy link
Contributor Author

See #293

@mibrahim
Copy link
Member

Fixed and merged by #293

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

2 participants