Skip to content

Improving endpoint deletion #9

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

Merged
merged 2 commits into from
Dec 7, 2017
Merged

Conversation

mvsusp
Copy link
Contributor

@mvsusp mvsusp commented Dec 6, 2017

  • created timeout_and_delete_endpoint_by_name context manager to easily delete an endpoint in the end of the integ test
  • set boto3 and botocore logging to INFO for integ tests so is easier to read log results and less noisier
  • added teamcity-messages module so we can se better tests stats

@@ -0,0 +1,45 @@
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename file to test_tf_cifar.py

laurenyu
laurenyu previously approved these changes Dec 6, 2017
Copy link
Contributor

@laurenyu laurenyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Just one small suggestion (and also Jonathan's comment about the filename)

yield [t]
finally:
sagemaker_session.delete_endpoint(endpoint_name)
LOGGER.info('deleted endpoint')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the endpoint name to the logging statement could be helpful

@mvsusp mvsusp merged commit f8b90f2 into master Dec 7, 2017
@mvsusp mvsusp deleted the mvs-timeout-deletes-endpoints branch December 7, 2017 00:49
laurenyu pushed a commit to laurenyu/sagemaker-python-sdk that referenced this pull request May 31, 2018
apacker pushed a commit to apacker/sagemaker-python-sdk that referenced this pull request Nov 15, 2018
athewsey pushed a commit to athewsey/sagemaker-python-sdk that referenced this pull request May 21, 2021
FrameworkProcessor: revert `run(entry_point=...)` back to `run(code=...)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants