Skip to content

Comments

Remove two more flaky assertions from oneshot tests#152878

Open
Zalathar wants to merge 1 commit intorust-lang:mainfrom
Zalathar:oneshot
Open

Remove two more flaky assertions from oneshot tests#152878
Zalathar wants to merge 1 commit intorust-lang:mainfrom
Zalathar:oneshot

Conversation

@Zalathar
Copy link
Member

These elapsed-time-upper-bound assertions are inherently flaky in CI, because CI runners will sometimes starve individual threads for a surprisingly long time, so the assertions can fail even if nothing went wrong.

Similar changes for other flaky oneshot tests:

Example flaky failure:

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Feb 20, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 20, 2026

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, jhpratt

@workingjubilee
Copy link
Member

Flaky tests? In my CI?

r? workingjubilee
@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 21, 2026

📌 Commit d02743e has been approved by workingjubilee

It is now in the queue for this repository.

@rust-bors rust-bors bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Feb 21, 2026
@rust-bors rust-bors bot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 21, 2026
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Feb 21, 2026
Remove two more flaky assertions from `oneshot` tests

These elapsed-time-upper-bound assertions are inherently flaky in CI, because CI runners will sometimes starve individual threads for a surprisingly long time, so the assertions can fail even if nothing went wrong.

Similar changes for other flaky `oneshot` tests:
- rust-lang#152145
- rust-lang#152648

Example flaky failure:
- rust-lang#152747 (comment)
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Feb 21, 2026
Remove two more flaky assertions from `oneshot` tests

These elapsed-time-upper-bound assertions are inherently flaky in CI, because CI runners will sometimes starve individual threads for a surprisingly long time, so the assertions can fail even if nothing went wrong.

Similar changes for other flaky `oneshot` tests:
- rust-lang#152145
- rust-lang#152648

Example flaky failure:
- rust-lang#152747 (comment)
rust-bors bot pushed a commit that referenced this pull request Feb 21, 2026
Rollup of 6 pull requests

Successful merges:

 - #152929 (Tighten the `!range` bounds on alignments in vtables)
 - #151603 (Stabilize `str_as_str`)
 - #152878 (Remove two more flaky assertions from `oneshot` tests)
 - #152915 (Error on attempt to construct scalable vector type)
 - #152925 (Improve runtest revision redundant cfg check)
 - #152928 (Update wasm-component-ld)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants