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 5907fab

Browse filesBrowse files
authored
increase test timeout (GoogleCloudPlatform#2351)
1 parent 267a74d commit 5907fab
Copy full SHA for 5907fab

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

‎dlp/inspect_content_test.py

Copy file name to clipboardExpand all lines: dlp/inspect_content_test.py
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ def test_inspect_gcs_file(bucket, topic_id, subscription_id, capsys):
294294
'test.txt',
295295
topic_id,
296296
subscription_id,
297-
['FIRST_NAME', 'EMAIL_ADDRESS', 'PHONE_NUMBER'])
297+
['FIRST_NAME', 'EMAIL_ADDRESS', 'PHONE_NUMBER'],
298+
timeout=420)
298299

299300
out, _ = capsys.readouterr()
300301
assert 'Info type: EMAIL_ADDRESS' in out
@@ -314,7 +315,8 @@ def test_inspect_gcs_file_with_custom_info_types(bucket, topic_id,
314315
subscription_id,
315316
[],
316317
custom_dictionaries=dictionaries,
317-
custom_regexes=regexes)
318+
custom_regexes=regexes,
319+
timeout=420)
318320

319321
out, _ = capsys.readouterr()
320322
assert 'Info type: CUSTOM_DICTIONARY_0' in out
@@ -330,7 +332,8 @@ def test_inspect_gcs_file_no_results(
330332
'harmless.txt',
331333
topic_id,
332334
subscription_id,
333-
['FIRST_NAME', 'EMAIL_ADDRESS', 'PHONE_NUMBER'])
335+
['FIRST_NAME', 'EMAIL_ADDRESS', 'PHONE_NUMBER'],
336+
timeout=420)
334337

335338
out, _ = capsys.readouterr()
336339
assert 'No findings' in out

0 commit comments

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