Skip to content

Commit 6eb5f40

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fix113
2 parents 2af4d4f + ed048d6 commit 6eb5f40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/run_parallel_test_continuous.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def python_sdk_test(python_test_dir: str, pytest_mark: str):
1212
print("python test path is {}".format(python_test_dir))
1313
# run test
1414
print(f"start pysdk test with {pytest_mark}")
15+
i = 0
1516
begin_time = time.time()
1617
while time.time() - begin_time < 8 * 3600:
1718
process = subprocess.Popen(
@@ -24,7 +25,8 @@ def python_sdk_test(python_test_dir: str, pytest_mark: str):
2425
process.wait()
2526
if process.returncode != 0:
2627
raise Exception(f"An error occurred: {process.stderr}")
27-
print(f"{i} complete")
28+
print(f"iteration {i} complete")
29+
i += 1
2830
directory = "/var/infinity"
2931
folder_size = shutil.disk_usage(directory)
3032
print(f"{directory} size: {folder_size.used / (1024 * 1024)} MB")

0 commit comments

Comments
 (0)