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

workaround 'Network is unreachable' errors in new CI #353

Merged
merged 1 commit into from
Apr 25, 2018

Conversation

weissi
Copy link
Member

@weissi weissi commented Apr 25, 2018

Motivation:

In the new CI, ChannelTests.testGeneral/SpecificConnectTimeout often fails with

error: ChannelTests.testGeneralConnectTimeout : threw error "connection reset (error set): Network is unreachable (errno: 101) "

It's not a great test but this just works around it by saying that if
the network's down that's fine too.

Modifications:

also accept ENETDOWN and ENETUNREACH

Result:

tests should pass in new CI.

Motivation:

In the new CI, ChannelTests.testGeneralConnectTimeout often fails with

```
error: ChannelTests.testGeneralConnectTimeout : threw error "connection reset (error set): Network is unreachable (errno: 101) "
```

It's not a great test but this just works around it by saying that if
the network's down that's fine too.

Modifications:

also accept ENETDOWN and ENETUNREACH

Result:

tests should pass in new CI.
@weissi weissi merged commit fadbba8 into apple:master Apr 25, 2018
@weissi weissi deleted the jw-fix-unrech branch April 25, 2018 14:09
@weissi weissi added the semver/patch No public API change. label Apr 26, 2018
@weissi weissi added this to the 1.6.0 milestone Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants