File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
import os
16
+ import time
16
17
import uuid
17
18
18
19
import google .cloud .bigquery
36
37
BIGQUERY_TABLE_ID = "dlp_test_table" + UNIQUE_STRING
37
38
BIGQUERY_HARMFUL_TABLE_ID = "harmful" + UNIQUE_STRING
38
39
39
- TIMEOUT = 30
40
+ TIMEOUT = 30
41
+
40
42
41
43
# Create new custom topic/subscription
42
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
166
168
167
- def delay ():
169
+ def delay (err , * args ):
168
170
# 20 mins of delay. This sounds like too long a delay, but we
169
171
# occasionally observe consequtive time block where operations are
170
172
# slow which leads to the test failures. These situations tend to
You can’t perform that action at this time.
0 commit comments