From 3fc6d32e29c617bd708535088b97d4243043881a Mon Sep 17 00:00:00 2001 From: Takashi Matsuo Date: Mon, 8 Jun 2020 18:53:04 -0700 Subject: [PATCH] testing: start using btlr [(#3959)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/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 --- samples/analyze/beta_snippets_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/analyze/beta_snippets_test.py b/samples/analyze/beta_snippets_test.py index 09aa67c2..a0ac30ff 100644 --- a/samples/analyze/beta_snippets_test.py +++ b/samples/analyze/beta_snippets_test.py @@ -53,7 +53,7 @@ def video_path(tmpdir_factory): @pytest.fixture(scope="function") def bucket(): # Create a temporaty bucket to store annotation output. - bucket_name = str(uuid.uuid1()) + bucket_name = f'tmp-{uuid.uuid4().hex}' storage_client = storage.Client() bucket = storage_client.create_bucket(bucket_name)