We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d92e61 commit 906ad3eCopy full SHA for 906ad3e
dlp/risk_test.py
@@ -13,6 +13,7 @@
13
# limitations under the License.
14
15
import os
16
+import time
17
import uuid
18
19
import google.cloud.bigquery
@@ -36,7 +37,8 @@
36
37
BIGQUERY_TABLE_ID = "dlp_test_table" + UNIQUE_STRING
38
BIGQUERY_HARMFUL_TABLE_ID = "harmful" + UNIQUE_STRING
39
-TIMEOUT=30
40
+TIMEOUT = 30
41
+
42
43
# Create new custom topic/subscription
44
# We observe sometimes all the tests in this file fail. In a
@@ -164,7 +166,7 @@ def bigquery_project():
164
166
bigquery_client.delete_dataset(dataset_ref, delete_contents=True)
165
167
168
-def delay():
169
+def delay(err, *args):
170
# 20 mins of delay. This sounds like too long a delay, but we
171
# occasionally observe consequtive time block where operations are
172
# slow which leads to the test failures. These situations tend to
0 commit comments