Skip to content

Test failing in local environment #4110

Closed Answered by thomaseizinger
Marcel-G asked this question in Q&A
Discussion options

You must be logged in to vote

Ha, this an interesting one. From your rustc output, I am guessing this is an Apple machine and you only have two network interfaces (loopback + WiFi)?

What is happening here is that we wait for a certain number of events and because we weren't considerate enough when we wrote this test, it implicitly requires that we get 3 NewListenAddress events. If you only have two interfaces, we'll only get two of those which is one event to few for the test to succeed.

We'll have to rewrite this test to be resilient to the number of network interfaces of the machine it is running on.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
5 replies
@Marcel-G
Comment options

@thomaseizinger
Comment options

@Marcel-G
Comment options

@thomaseizinger
Comment options

Answer selected by thomaseizinger
@thomaseizinger
Comment options

Comment options

You must be logged in to vote
5 replies
@thomaseizinger
Comment options

@Marcel-G
Comment options

@thomaseizinger
Comment options

@thomaseizinger
Comment options

@Marcel-G
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants