-
-
Notifications
You must be signed in to change notification settings - Fork 212
Delete files uploaded to test server during unit testing #735
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
Conversation
|
@mfeurer
|
Codecov Report
@@ Coverage Diff @@
## develop #735 +/- ##
===========================================
+ Coverage 87.82% 87.97% +0.15%
===========================================
Files 36 36
Lines 3999 4033 +34
===========================================
+ Hits 3512 3548 +36
+ Misses 487 485 -2
Continue to review full report at Codecov.
|
mfeurer
left a comment
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.
Thanks, this looks good, although I think it needs a bit of simplification.
Also, could you please add to the contribution guide that the test server needs to be cleaned up after the unit test?
I'm afraid that you need to recursively add all subflows to the tracker to make sure there are no leftovers.
@janvanrijn is this intended behavior?
That's fine by me. |
|
@mfeurer I tried to debug the clustering task failure. Here are my observations. The task being uploaded has the following attributes, as initialized by the
This is attempted 100 times until the On the test server, the following commands: If we record all the 100 Using the apikey we define in class Are all these expected behaviour? |
No, it turns out that |
|
Most test case issue seems to be fixed barring one test which fails consistently. My local sklearn version is |
|
@mfeurer just another tiny thing. |
Actually, I think I meant this file: https://raw.githubusercontent.com/openml/openml-python/develop/PULL_REQUEST_TEMPLATE.md |
|
I didn't edit |
|
Okay, let me know when I should have a look at this again. |
Reference Issue
Addresses #261.
What does this PR implement/fix? Explain your changes.
Keeps track of entities uploaded to test server and iteratively deletes them after the completion of all unit tests.
How should this PR be tested?
By running
pytest -sand observing the logs.