Skip to content

Conversation

@alexcrichton
Copy link
Member

This test has deadlocked on Windows once or twice now and we've had lots of
problems in the past of threads panicking when the process is being shut down.
One of the two threads in this test is guaranteed to panic because of the
.unwrap() on the send calls, so just call recv on both receivers after the
test executes to ensure that both threads are dying/dead.

This test has deadlocked on Windows once or twice now and we've had lots of
problems in the past of threads panicking when the process is being shut down.
One of the two threads in this test is guaranteed to panic because of the
`.unwrap()` on the `send` calls, so just call `recv` on both receivers after the
test executes to ensure that both threads are dying/dead.
@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented May 5, 2015

📌 Commit 700cff5 has been approved by nikomatsakis

bors added a commit that referenced this pull request May 5, 2015
…sakis

This test has deadlocked on Windows once or twice now and we've had lots of
problems in the past of threads panicking when the process is being shut down.
One of the two threads in this test is guaranteed to panic because of the
`.unwrap()` on the `send` calls, so just call `recv` on both receivers after the
test executes to ensure that both threads are dying/dead.
@bors
Copy link
Collaborator

bors commented May 5, 2015

⌛ Testing commit 700cff5 with merge 58b83e7...

@bors
Copy link
Collaborator

bors commented May 5, 2015

@bors bors merged commit 700cff5 into rust-lang:master May 5, 2015
@alexcrichton alexcrichton deleted the fix-flaky-windows-test branch May 5, 2015 17:56
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.

4 participants