Skip to content

Commit 02f7216

Browse files
Takashi Matsuodanoscarmike
Takashi Matsuo
authored andcommitted
* 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 da15c0e commit 02f7216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/google-cloud-translate/samples/snippets/beta_snippets_test.py

+1-1
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

packages/google-cloud-translate/samples/snippets/translate_v3_batch_translate_text_with_glossary_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def delete_glossary():
5757
@pytest.fixture(scope="function")
5858
def bucket():
5959
"""Create a temporary bucket to store annotation output."""
60-
bucket_name = str(uuid.uuid1())
60+
bucket_name = f'tmp-{uuid.uuid4().hex}'
6161
storage_client = storage.Client()
6262
bucket = storage_client.create_bucket(bucket_name)
6363

0 commit comments

Comments
 (0)