-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
Remove time check from Jax tests to improve stability #3963
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3963 +/- ##
===========================================
- Coverage 99.58% 99.57% -0.02%
===========================================
Files 257 257
Lines 21196 21198 +2
===========================================
- Hits 21108 21107 -1
- Misses 88 91 +3 ☔ View full report in Codecov by Sentry. |
I don't see anywhere that the operator usage should have changed, so I think that coverage is outdated |
Are these tests actually failing, or is this a "we shouldn't test times in CI"? They do test real functionality, if they are failing that indicates there may be a bug |
Both
|
I think the failures are macOS-specific, because these tests are failing in CI but only for macOS and I have never seen them fail on Ubuntu or Windows. These take a really long time to complete on my local macOS machine too (#3948) and fail quite erratically. It makes me wonder if something is amiss upstream or a memory leak of some kind |
Yeah I intend to keep looking into the Jax stuff, so I will try to find out if there is more going on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Removing makes sense in that case
* Remove time checks in tests * Old changelog
Description
Jax tests checked runtime, which is inconsistent in the CI suite. This should keep the same coverage, but stop checking the runtime. Note: the changelog is also updated since that was missed in #3961
Fixes #3925
Type of change
Only test code.
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
(or$ nox -s tests
)$ python run-tests.py --doctest
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ python run-tests.py --quick
(or$ nox -s quick
).Further checks: