[skip ci] Standardize code style (#10804)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2021-10-28 19:45:48 +08:00 committed by GitHub
parent ab23b2477f
commit bb3d55ca4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ class TestFlushBase:
connect.flush([id_collection]) connect.flush([id_collection])
timeout = 20 timeout = 20
start_time = time.time() start_time = time.time()
while (time.time() - start_time < timeout): while time.time() - start_time < timeout:
time.sleep(1) time.sleep(1)
res = connect.get_collection_stats(id_collection) res = connect.get_collection_stats(id_collection)
if res["row_count"] == default_nb: if res["row_count"] == default_nb: