Content-Length: 268476 | pFad | http://github.com/googleapis/python-translate/commit/9d2d2a3178a11ca0f2f5fda03158db7e192754e7

9A testing: start using btlr [(#3959)](https://github.com/GoogleCloudPla… · googleapis/python-translate@9d2d2a3 · GitHub
Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 9d2d2a3

Browse files
Takashi Matsuobusunkim96
Takashi Matsuo
authored andcommitted
testing: start using btlr [(#3959)](GoogleCloudPlatform/python-docs-samples#3959)
* testing: start using btlr The binary is at gs://cloud-devrel-kokoro-resources/btlr/v0.0.1/btlr * add period after DIFF_FROM * use array for btlr args * fix websocket tests * add debug message * wait longer for the server to spin up * dlp: bump the wait timeout to 10 minutes * [run] copy noxfile.py to child directory to avoid gcloud issue * [iam] fix: only display description when the key exists * use uuid4 instead of uuid1 * [iot] testing: use the same format for registry id * Stop asserting Out of memory not in the output * fix missing imports * [dns] testing: more retries with delay * [dlp] testing: longer timeout * use the max-concurrency flag * use 30 workers * [monitoring] use multiple projects * [dlp] testing: longer timeout
1 parent e2c689c commit 9d2d2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/translate_v3_batch_translate_text_with_model_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@pytest.fixture(scope="function")
2929
def bucket():
3030
"""Create a temporary bucket to store annotation output."""
31-
bucket_name = str(uuid.uuid1())
31+
bucket_name = f'tmp-{uuid.uuid4().hex}'
3232
storage_client = storage.Client()
3333
bucket = storage_client.create_bucket(bucket_name)
3434

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/python-translate/commit/9d2d2a3178a11ca0f2f5fda03158db7e192754e7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy