Skip to content

Commit

Permalink
testing: start using btlr [(#3959)](GoogleCloudPlatform/python-docs-s…
Browse files Browse the repository at this point in the history
…amples#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
  • Loading branch information
Takashi Matsuo authored and danoscarmike committed Jul 31, 2020
1 parent da15c0e commit 02f7216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@pytest.fixture(scope='function')
def bucket():
"""Create a temporary 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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def delete_glossary():
@pytest.fixture(scope="function")
def bucket():
"""Create a temporary 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)

Expand Down

0 comments on commit 02f7216

Please sign in to comment.