Skip to content

Conversation

tompscanlan
Copy link
Contributor

What does this PR try to resolve?

review ignored tests in rustfix crate per #13034.

How should we test and review this PR?

CI testing

Additional information

  • Removed unproductive test in parse_and_replace
  • un-ignore proptests, and reduce runtime from ~2s to ~<.25s

@rustbot
Copy link
Collaborator

rustbot commented Nov 25, 2023

r? @weihanglo

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

@rustbot rustbot added Command-fix S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 25, 2023
@tompscanlan
Copy link
Contributor Author

I'm not familiar with proptests. Is running them here beneficial, or should we trim them? I lean towards trimming.

Why:

  1. I don't think regressions will be captured back into git, so I think if we hit a bug, we'd fail to record it as is
  2. functions tested are covered by other tests, so this is somewhat redundant

Thoughts from the team: Should I trim the proptests off?

@tompscanlan tompscanlan marked this pull request as draft November 26, 2023 13:52
* reduce time in proptest
* delete edition dir
* remove refs to fixmode::EDITION
@tompscanlan tompscanlan marked this pull request as ready for review November 26, 2023 15:08
Copy link
Member

@weihanglo weihanglo left a comment

Choose a reason for hiding this comment

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

Thanks. Let move on and merge this :)

@weihanglo weihanglo linked an issue Nov 26, 2023 that may be closed by this pull request
@weihanglo
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Nov 26, 2023

📌 Commit b179cd1 has been approved by weihanglo

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 26, 2023
@bors
Copy link
Contributor

bors commented Nov 26, 2023

⌛ Testing commit b179cd1 with merge 3920bd5...

@bors
Copy link
Contributor

bors commented Nov 26, 2023

☀️ Test successful - checks-actions
Approved by: weihanglo
Pushing 3920bd5 to master...

1 similar comment
@bors
Copy link
Contributor

bors commented Nov 26, 2023

☀️ Test successful - checks-actions
Approved by: weihanglo
Pushing 3920bd5 to master...

@bors bors merged commit 3920bd5 into rust-lang:master Nov 26, 2023
@bors
Copy link
Contributor

bors commented Nov 26, 2023

👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.

@tompscanlan tompscanlan deleted the rustfix-ignored-tests branch November 26, 2023 17:57
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 29, 2023
Update cargo

7 commits in 9b13310ca596020a737aaa47daa4ed9ff8898a2f..26333c732095d207aa05932ce863d850fb309386
2023-11-24 16:20:51 +0000 to 2023-11-28 20:07:39 +0000
- docs: link to the packages lint table from the related workspace table (rust-lang/cargo#13057)
- Add more doc comments for gc changes. (rust-lang/cargo#13055)
- docs: Provide pointers for MSRV (rust-lang/cargo#13056)
- Fixed typo in SemVer Compatibility documentation page (rust-lang/cargo#13054)
- refactor: use custom error instead of anyhow (rust-lang/cargo#13050)
- review and remove ignored tests in rustfix (rust-lang/cargo#13047)
- docs: add doc comments for rustfix (rust-lang/cargo#13048)

r? ghost
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 29, 2023
Rollup merge of rust-lang#118425 - weihanglo:update-cargo, r=weihanglo

Update cargo

7 commits in 9b13310ca596020a737aaa47daa4ed9ff8898a2f..26333c732095d207aa05932ce863d850fb309386
2023-11-24 16:20:51 +0000 to 2023-11-28 20:07:39 +0000
- docs: link to the packages lint table from the related workspace table (rust-lang/cargo#13057)
- Add more doc comments for gc changes. (rust-lang/cargo#13055)
- docs: Provide pointers for MSRV (rust-lang/cargo#13056)
- Fixed typo in SemVer Compatibility documentation page (rust-lang/cargo#13054)
- refactor: use custom error instead of anyhow (rust-lang/cargo#13050)
- review and remove ignored tests in rustfix (rust-lang/cargo#13047)
- docs: add doc comments for rustfix (rust-lang/cargo#13048)

r? ghost
@rustbot rustbot modified the milestone: 1.76.0 Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-fix S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustfix: Fix ignored tests
4 participants