Skip to content

[Merged by Bors] - fix: adjust nondetermininstic LibrarySearch tests#6477

Closed
kmill wants to merge 1 commit intomasterfrom
kmill_librarysearch_test_determ
Closed

[Merged by Bors] - fix: adjust nondetermininstic LibrarySearch tests#6477
kmill wants to merge 1 commit intomasterfrom
kmill_librarysearch_test_determ

Conversation

@kmill
Copy link
Copy Markdown
Contributor

@kmill kmill commented Aug 9, 2023

Some of the tests for LibrarySearch functionality are nondetermininstic and were using #guard_msgs to check for specific output. This could create spurious failures. We switch to using #guard_msgs (drop info) for these tests, which still cleans up the stdout when running these tests without filtering out errors.


Open in Gitpod

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Aug 9, 2023

Thanks. I will think about how to do this better, but I agreeing disabling the specific checks is certainly correct in the short term.

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Aug 9, 2023

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Aug 9, 2023
bors bot pushed a commit that referenced this pull request Aug 9, 2023
Some of the tests for LibrarySearch functionality are nondetermininstic and were using `#guard_msgs` to check for specific output. This could [create spurious failures](https://github.com/leanprover-community/mathlib4/actions/runs/5810778556/job/15756601503). We switch to using `#guard_msgs (drop info)` for these tests, which still cleans up the stdout when running these tests without filtering out errors.
@bors
Copy link
Copy Markdown

bors bot commented Aug 10, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title fix: adjust nondetermininstic LibrarySearch tests [Merged by Bors] - fix: adjust nondetermininstic LibrarySearch tests Aug 10, 2023
@bors bors bot closed this Aug 10, 2023
@bors bors bot deleted the kmill_librarysearch_test_determ branch August 10, 2023 00:40
kim-em pushed a commit that referenced this pull request Aug 14, 2023
Some of the tests for LibrarySearch functionality are nondetermininstic and were using `#guard_msgs` to check for specific output. This could [create spurious failures](https://github.com/leanprover-community/mathlib4/actions/runs/5810778556/job/15756601503). We switch to using `#guard_msgs (drop info)` for these tests, which still cleans up the stdout when running these tests without filtering out errors.
kim-em pushed a commit that referenced this pull request Aug 15, 2023
Some of the tests for LibrarySearch functionality are nondetermininstic and were using `#guard_msgs` to check for specific output. This could [create spurious failures](https://github.com/leanprover-community/mathlib4/actions/runs/5810778556/job/15756601503). We switch to using `#guard_msgs (drop info)` for these tests, which still cleans up the stdout when running these tests without filtering out errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants