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

std: Ignore tests where threads outlive main #34983

Merged
merged 1 commit into from
Jul 27, 2016

Conversation

alexcrichton
Copy link
Member

Long ago we discovered that threads which outlive main and then exit while the
rest of the program is exiting causes Windows to hang (#20704). That's what was
happening in this test so let's just not run this test any more.

@rust-highfive
Copy link
Collaborator

r? @brson

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

@@ -97,7 +97,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
/// by putting it inside `Mutex` and then share `Mutex` immutably
/// with `Arc<T>` as shown below.
///
/// ```
/// ```no_run
Copy link
Contributor

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 to prevent people from removing this?

@brson
Copy link
Contributor

brson commented Jul 22, 2016

r=me with fix

Long ago we discovered that threads which outlive main and then exit while the
rest of the program is exiting causes Windows to hang (rust-lang#20704). That's what was
happening in this test so let's just not run this test any more.
@alexcrichton
Copy link
Member Author

@bors: r=brson

@bors
Copy link
Contributor

bors commented Jul 22, 2016

📌 Commit 8487666 has been approved by brson

@@ -21,6 +21,10 @@
//!
//! Sharing some immutable data between threads:
//!
// Note that we **do not** run these tests here. The windows builders get super
// unhappy of a thread outlives the main thread and then exits at the same time
Copy link
Contributor

Choose a reason for hiding this comment

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

s/of/if/

@bors
Copy link
Contributor

bors commented Jul 25, 2016

⌛ Testing commit 8487666 with merge ea99866...

@bors
Copy link
Contributor

bors commented Jul 25, 2016

💔 Test failed - auto-win-msvc-64-cargotest

@alexcrichton
Copy link
Member Author

@bors: retry

On Sun, Jul 24, 2016 at 11:32 PM, bors notifications@github.com wrote:

💔 Test failed - auto-win-msvc-64-cargotest
https://buildbot.rust-lang.org/builders/auto-win-msvc-64-cargotest/builds/1262


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#34983 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95GKFyuYbGybpfA4NeTCnAvb6Ljgyks5qZFhvgaJpZM4JTNdM
.

@alexcrichton
Copy link
Member Author

@bors: retry

@bors
Copy link
Contributor

bors commented Jul 26, 2016

⌛ Testing commit 8487666 with merge 2a1a077...

@bors
Copy link
Contributor

bors commented Jul 26, 2016

💔 Test failed - auto-win-msvc-64-opt

@alexcrichton
Copy link
Member Author

@bors: retry

On Tue, Jul 26, 2016 at 3:38 AM, bors notifications@github.com wrote:

💔 Test failed - auto-win-msvc-64-opt
https://buildbot.rust-lang.org/builders/auto-win-msvc-64-opt/builds/5075


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#34983 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95KArZbsX7mF2IyI8A5Zy5w6zvkCEks5qZeO3gaJpZM4JTNdM
.

@alexcrichton
Copy link
Member Author

@bors: p=1

(causing flaky tests on Windows)

@alexcrichton alexcrichton mentioned this pull request Jul 26, 2016
@bors
Copy link
Contributor

bors commented Jul 26, 2016

⌛ Testing commit 8487666 with merge feeca94...

bors added a commit that referenced this pull request Jul 26, 2016
std: Ignore tests where threads outlive main

Long ago we discovered that threads which outlive main and then exit while the
rest of the program is exiting causes Windows to hang (#20704). That's what was
happening in this test so let's just not run this test any more.
@bors bors merged commit 8487666 into rust-lang:master Jul 27, 2016
@alexcrichton alexcrichton deleted the windows-flaky branch August 26, 2016 18:30
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.

5 participants