Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7fd1fd5

Browse filesBrowse files
author
Takashi Matsuo
authored
fix(healthcare): retry flaky test (GoogleCloudPlatform#5285)
fixes GoogleCloudPlatform#5251
1 parent 9b8bd78 commit 7fd1fd5
Copy full SHA for 7fd1fd5

File tree

Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-3
lines changed

‎healthcare/api-client/v1/dicom/dicom_stores_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/v1/dicom/dicom_stores_test.py
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,12 @@ def test_pubsub_topic():
166166

167167

168168
def test_CRUD_dicom_store(test_dataset, crud_dicom_store_id, capsys):
169-
dicom_stores.create_dicom_store(
170-
project_id, cloud_region, dataset_id, crud_dicom_store_id
171-
)
169+
@backoff.on_exception(backoff.expo, HttpError, max_time=60)
170+
def create():
171+
dicom_stores.create_dicom_store(
172+
project_id, cloud_region, dataset_id, crud_dicom_store_id
173+
)
174+
create()
172175

173176
dicom_stores.get_dicom_store(
174177
project_id, cloud_region, dataset_id, crud_dicom_store_id

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.