FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use test endpoint for datalabeling integration tests. by dzlier-gcp · Pull Request #1803 · GoogleCloudPlatform/java-docs-samples · GitHub

Use test endpoint for datalabeling integration tests. - #1803

Merged
dzlier-gcp merged 7 commits into
GoogleCloudPlatform:masterfrom
dzlier-gcp:datalabeling
Dec 17, 2019
Merged

Use test endpoint for datalabeling integration tests.#1803
dzlier-gcp merged 7 commits into
GoogleCloudPlatform:masterfrom
dzlier-gcp:datalabeling

Conversation

Copy link
Copy Markdown
Member

No description provided.

dzlier-gcp requested a review from a team December 11, 2019 23:01
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 11, 2019
dzlier-gcp requested a review from kurtisvg December 12, 2019 19:21

averikitsch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Since there is no ReadMe for this sample, do the docs mention the new environment variable "DATALABELING_ENDPOINT"?

Comment thread .kokoro/tests/run_tests.sh Outdated
endpoint = DataLabelingServiceSettings.getDefaultEndpoint();
}

try (DataLabelingServiceClient dataLabelingServiceClient =

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please add comments to each file, that this is unnecessary for users to do or something to that effect.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

+1. We should also add a comment why this is necessary for these snippets, and try to hide this portion from being staged in the documentation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

nit: It would be nice to still add a comment here (doesn't need to be in the staged version) to explain the extra code.

Copy link
Copy Markdown
Contributor

Tests are not passing now that the variable typo was fixed.

endpoint = DataLabelingServiceSettings.getDefaultEndpoint();
}

try (DataLabelingServiceClient dataLabelingServiceClient =

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

+1. We should also add a comment why this is necessary for these snippets, and try to hide this portion from being staged in the documentation.

Copy link
Copy Markdown
Member Author

Justin suggested talking to Jeff Ching about moving this sample into the Datalabeling repo so that the tests are only triggered when an actual change to datalabeling goes through, instead of changing the endpoint we're targeting, so I'm going to check with him before submitting.

Copy link
Copy Markdown
Contributor

@dzlier-gcp Perhaps we should submit this now so that the current integration tests stop, and then move it in a different PR

dzlier-gcp merged commit cb61467 into GoogleCloudPlatform:master Dec 17, 2019
ivanmkc pushed a commit that referenced this pull request Nov 3, 2022
* Use test endpoint for datalabeling integration tests.

* Fix formatting

* Fix typo

* Fix formatting

* Add quotes to variable

* Add execeptions to method signitures.
averikitsch pushed a commit that referenced this pull request Nov 9, 2022
* Use test endpoint for datalabeling integration tests.

* Fix formatting

* Fix typo

* Fix formatting

* Add quotes to variable

* Add execeptions to method signitures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL