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

Run tests with IPv6 address #76

Merged
merged 2 commits into from
Jul 26, 2017
Merged

Run tests with IPv6 address #76

merged 2 commits into from
Jul 26, 2017

Conversation

natebosch
Copy link
Member

No description provided.

@natebosch natebosch requested a review from kevmoo July 26, 2017 03:55
@natebosch
Copy link
Member Author

/sigh

Travis doesn't support IPv6, internal tests don't support IPv4 😢

Will likely just disable the test internally.

@natebosch natebosch closed this Jul 26, 2017
@natebosch natebosch deleted the natebosch_test-ipv6 branch July 26, 2017 04:15
@kevmoo
Copy link
Member

kevmoo commented Jul 26, 2017

You can do a sniff of Travis and switch to ipv4 – seems reasonable.

@kevmoo
Copy link
Member

kevmoo commented Jul 26, 2017

@natebosch natebosch reopened this Jul 26, 2017
@natebosch
Copy link
Member Author

Good idea!

updated PTAL

@natebosch natebosch merged commit 9e0877e into master Jul 26, 2017
@natebosch
Copy link
Member Author

server = await IOServer.bind(InternetAddress.LOOPBACK_IP_V4, 0);
var address = Platform.environment.containsKey('TRAVIS')
? InternetAddress.LOOPBACK_IP_V4
: InternetAddress.LOOPBACK_IP_V6;
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a comment explaining why we're testing on IPv6 on Travis and only Travis?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure. The chances that the git blame becomes at all difficult to find before the comment becomes a lie seems incredibly low but we can add one for now.

#89

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

Successfully merging this pull request may close these issues.

4 participants