GeezerVison is showing github.com — Re-enable AutoML model create tests by busunkim96 · Pull Request #3721 · GoogleCloudPlatform/python-docs-samples
Conversation
busunkim96
commented
May 11, 2020
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes #3706.
I don't have the context around why these tests were disabled. Does these tests need to be modified in some other way?
#1608 disabled these tests.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Few things.
- The tests are using the following code:
model_name = "test_" + datetime.datetime.now().strftime("%Y%m%d%H%M%S")
This easily conflicts among multiple builds. Can you update this to use uuid?
- The tests are calceling the operation, but it's a best effort trial of cancellation, so sometimes the models are created before the cancellation happens. I think we should try to delete the models in teardown code.
|
busunkim96 reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
these samples are outdated. samples and tests can be deleted. translate doc and vision doc reference other snippets.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@sirtorry
Thanks for the input.
I did a quick search for the region tag, and there are still used in multiple location. Although they're all translated page, can we really delete them now?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I'm going to submit a request for these samples to be replaced on our localised/non-english documentation. We shouldn't remove the samples until that's been done. In this case, should we re-enable these tests?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Opened #3766 to track removing those samples.
I'm alright with closing this and leaving the tests disabled. @tmatsuo Is that alright with you?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Re-enable model test
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|