-
Notifications
You must be signed in to change notification settings - Fork 2.2k
test(docker): mocked unittests external calls #1958
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
907cc27
to
fac5355
Compare
Codecov Report
@@ Coverage Diff @@
## master #1958 +/- ##
==========================================
- Coverage 90.30% 89.98% -0.32%
==========================================
Files 230 230
Lines 12135 12135
==========================================
- Hits 10958 10920 -38
- Misses 1177 1215 +38
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Really nice work! Thank you for the contribution!!
recheckcla |
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
Thanks :) |
Jina CLA check I have read the CLA Document and I hereby sign the CLA |
I have read the CLA Document and I hereby sign the CLA |
I have seen that the CI times out after 15 minutes, I think this causes two modules to fail ( For the docker module, apparently, the right images are not available leading to the
Are these images built by other tests? Might the Error come from the execution order of tests? |
I think u may be able to find in the CI how the images are built before |
@slettner Can you please resolve the merge conflicts |
9f99238
to
5b12412
Compare
I updated the PR after a rebase, sorry for the inactivity. The tests look better now but the Unfortunately, this change only fixes the first test of the module, the second one produces no fail-levels at all, where Do you have an idea what might be the cause? |
tests/integration/hub_usage/dummyhub_pretrained/requirements.txt
Outdated
Show resolved
Hide resolved
@slettner would you like to continue working on this issue? Or should someone from us take over? |
I can pick it up today, sorry for the inactivity :) |
4036397
to
19cd8a1
Compare
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.
Good work!
Patched or moved unit tests in the docker module to avoid external calls.
Some tests are now in the
integration/hub_usage/test_hub_usage.py
module.Fixes #1640