Uh oh!
There was an error while loading. Please reload this page.
Making some unit tests work - #1000
Conversation
This issue was addressed by waiting for the dataset to be processed before creating a task on it. |
Neeratyoy
commented
Nov 20, 2020
@mfeurer many more tests fail now While other fetches from the server return empty, which seems to make many of the assertions fail too! |
mfeurer
commented
Nov 23, 2020
@Neeratyoy I just discussed with @joaquinvanschoren and he gave the API key write permissions |
Neeratyoy
commented
Nov 30, 2020
|
Codecov Report
@@ Coverage Diff @@## develop #1000 +/- ##
===========================================
- Coverage 87.86% 87.70% -0.16%
===========================================
Files 36 36 Lines 4531 4580 +49 ===========================================
+ Hits 3981 4017 +36 - Misses 550 563 +13
Continue to review full report at Codecov.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
PGijsbers
left a comment
There was a problem hiding this comment.
I only looked at _api_calls. I think the main point of discussion is whether or not we want two loops of retries for server connects. Currently the outer loop is ran as long as the response content is incorrect (not same hash), and the inner loop also connects up to n_retries in _send_request until a status: 200. If we don't want to nest this loop (and have n_retries^2 retries, we should probably allow the _send_request to check the response against a checksum for get queries.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Neeratyoy
commented
Dec 23, 2020
@PGijsbers the tests that fail are oddly due to either a worker crashing or the issue pertaining to attaching entities to a study. |
Uh oh!
There was an error while loading. Please reload this page.
PGijsbers
commented
Dec 23, 2020
Looks mostly like server failure? Though something like this is suspicious: would mean there were no runs on the server (or at most10)? |
Neeratyoy
commented
Dec 23, 2020
I'm afraid I can't see exactly which comment :/ |
PGijsbers
commented
Dec 23, 2020
It's the one about the time measurements that you commented on 👍 |
Thanks for all the work on this PR! I'm merging this as it's a big improvement to what was before, and so we don't need to carry this over a break. |
mfeurer
commented
Jan 4, 2021
Thanks for merging @PGijsbers The flaky error you found was reported by @Neeratyoy in openml/OpenML#1080 |
What does this PR implement/fix? Explain your changes.
Fixes some of the failing unit tests post the test server clean-up.
Update docs to ensure that any
publishto the test server during unit testing is also scheduled for deletion.