-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix unit tests #8553
Fix unit tests #8553
Conversation
@@ -177,7 +177,7 @@ def run_container_using_docker( | |||
image=worker_image.image_identifier.full_name_with_tag, | |||
name=f"{hostname}-{worker_name}", | |||
detach=True, | |||
auto_remove=True, | |||
# auto_remove=True, |
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.
How come we have commented this out?
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.
yeah this was to detect the errors in default worker pool, need to clean up this PR before we merge
I'll be pushing some more fixes, please don't merge this PR at the moment |
@@ -120,14 +120,14 @@ test_plugins = | |||
pytest-asyncio | |||
pytest-randomly | |||
pytest-sugar | |||
pytest_mock_resources | |||
python_on_whales |
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.
MAYBE: I think we could also remove unsed dependencies here like
- python_on_whales
- lxml
- joblib (not fully sure if joblib is being used?)
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.
and I think pytest-asyncio is also not used
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.
agree
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.
Lets address in a smaller follow up PR.
bash -c "docker volume rm test-gateway-1_mongo-data --force || true" | ||
bash -c "docker volume rm test-gateway-1_credentials-data --force || true" | ||
bash -c "docker volume rm test-gateway-1_seaweedfs-data --force || true" | ||
bash -c 'docker rm -f $(docker ps -a -q --filter "label=orgs.openmined.syft") || true' |
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.
Nice
@yashgorana is this PR good to be merged ? |
Description
Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.
Affected Dependencies
List any dependencies that are required for this change.
How has this been tested?
Checklist