Skip to content

Commit 906ad3e

Browse files
author
Takashi Matsuo
committed
lint fix etc
1 parent 3d92e61 commit 906ad3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dlp/risk_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
import os
16+
import time
1617
import uuid
1718

1819
import google.cloud.bigquery
@@ -36,7 +37,8 @@
3637
BIGQUERY_TABLE_ID = "dlp_test_table" + UNIQUE_STRING
3738
BIGQUERY_HARMFUL_TABLE_ID = "harmful" + UNIQUE_STRING
3839

39-
TIMEOUT=30
40+
TIMEOUT = 30
41+
4042

4143
# Create new custom topic/subscription
4244
# We observe sometimes all the tests in this file fail. In a
@@ -164,7 +166,7 @@ def bigquery_project():
164166
bigquery_client.delete_dataset(dataset_ref, delete_contents=True)
165167

166168

167-
def delay():
169+
def delay(err, *args):
168170
# 20 mins of delay. This sounds like too long a delay, but we
169171
# occasionally observe consequtive time block where operations are
170172
# slow which leads to the test failures. These situations tend to

0 commit comments

Comments
 (0)