-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Reducing test flakiness #601
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
Codecov Report
@@ Coverage Diff @@
## master #601 +/- ##
=======================================
Coverage 92.69% 92.69%
=======================================
Files 71 71
Lines 5405 5405
=======================================
Hits 5010 5010
Misses 395 395 Continue to review full report at Codecov.
|
Returns: | ||
|
||
""" | ||
os.system('docker network create sagemaker-local') |
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 is this 'if necessary' ?
shouldnt this method be renamed to create_sagemaker_local_network() ?
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 point. Done.
def create_sagemaker_local_network(): | ||
""" | ||
Docker has a known race condition which allows two parallel processes | ||
to create a duplicated networks with the same name. This function |
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.
s/to create a duplicated/to create duplicated
Description of changes:
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.