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

IPv6 support #58 (+ Integration tests Windows fix) #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Holdo
Copy link

@Holdo Holdo commented Sep 10, 2016

Well, the integration tests for UDT core were not green on my Windows machine so this is my attempt to fix them.

@@ -142,7 +143,7 @@ public void testStream22() throws Exception {
@Override
public void run() {
final Random random = new Random();
final int loop = 10000;
final int loop = 100;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry but 10000 * 2 native calls took forever on my windows machine 😄

@Holdo Holdo changed the title Integration tests Windows fix Integration tests Windows fix (core) Sep 12, 2016
@Holdo Holdo changed the title Integration tests Windows fix (core) IPv6 support #58 (+ Integration tests Windows fix) Sep 13, 2016
@Holdo
Copy link
Author

Holdo commented Sep 13, 2016

You can try IPv6 by using -Djava.net.preferIPv6Addresses=true VM option or System.setProperty("java.net.preferIPv6Addresses", "true") from the code.

All tests in barchart-udt-core pass, at least on Windows :)

@Holdo Holdo mentioned this pull request Sep 13, 2016
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

Successfully merging this pull request may close these issues.

1 participant