-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add Local Mode Integration tests #192
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 #192 +/- ##
=======================================
Coverage 90.68% 90.68%
=======================================
Files 38 38
Lines 2599 2599
=======================================
Hits 2357 2357
Misses 242 242Continue to review full report at Codecov.
|
028aab7 to
df93df1
Compare
If we don't have a local session and the image hasn't been pulled then there is a race condition where the NoBotoSession tests need to run after a test that uses boto.
|
|
||
| DATA_PATH = os.path.join(DATA_DIR, 'iris', 'data') | ||
| LOCK_PATH = os.path.join(DATA_DIR, 'local_mode_lock') | ||
| DEFAULT_REGION = 'us-west-2' |
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.
do we need to run integ tests against different regions?
| endpoint_name = estimator.latest_training_job.name | ||
|
|
||
| try: | ||
| # Since Local Mode uses the same port for serving, we need a lock in order |
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.
should it use a different port? :)
nadiaya
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.
Discussed offline.
Issue #, if available:
Description of changes:
Merge Checklist
Put an
xin 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.