GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Re-enable AutoML model create tests by busunkim96 · Pull Request #3721 · GoogleCloudPlatform/python-docs-samples

Conversation

@busunkim96

@busunkim96 busunkim96 commented May 11, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@busunkim96
busunkim96 requested a review from sirtorry May 11, 2020 17:28
@busunkim96
busunkim96 requested review from a team, nnegrey and telpirion as code owners May 11, 2020 17:28
@blunderbuss-gcf blunderbuss-gcf Bot assigned tmatsuo May 11, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 11, 2020
@tmatsuo

tmatsuo commented May 11, 2020

Copy link
Copy Markdown
Contributor

Few things.

  1. 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?

  1. 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
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

busunkim96 added 4 commits May 11, 2020 23:33
@busunkim96
Re-enable AutoML model create tests
a449a1c
@busunkim96
test: use fixtures and uuid
6f1d2eb
@busunkim96
remove unused import
6b56cfe
@busunkim96
use 32 character name
202d1cb
@busunkim96
busunkim96 force-pushed the automl-reenable branch from 2424525 to 202d1cb Compare May 11, 2020 23:33
@busunkim96
remove noxfile
b53a47b
busunkim96
busunkim96 commented May 11, 2020
View reviewed changes
Comment thread translate/automl/model_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sirtorry

sirtorry commented May 14, 2020

Copy link
Copy Markdown
Contributor

these samples are outdated. samples and tests can be deleted. translate doc and vision doc reference other snippets.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tmatsuo

tmatsuo commented May 15, 2020

Copy link
Copy Markdown
Contributor

@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?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sirtorry

sirtorry commented May 15, 2020

Copy link
Copy Markdown
Contributor

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?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@busunkim96

busunkim96 commented May 15, 2020

Copy link
Copy Markdown
Contributor Author

Opened #3766 to track removing those samples.

I'm alright with closing this and leaving the tests disabled. @tmatsuo Is that alright with you?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tmatsuo

tmatsuo commented May 15, 2020

Copy link
Copy Markdown
Contributor

@busunkim96 Yes, it's alright!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@busunkim96 busunkim96 closed this May 15, 2020
@anguillanneuf
anguillanneuf deleted the automl-reenable branch November 3, 2021 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sirtorry sirtorry Awaiting requested review from sirtorry
@nnegrey nnegrey Awaiting requested review from nnegrey
@telpirion telpirion Awaiting requested review from telpirion

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@tmatsuo tmatsuo

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

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.

4 participants

@busunkim96 @tmatsuo @sirtorry @googlebot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.