Skip to content

Commit 8e9af0b

Browse files
committed
[skip changelog] Tentative solution for CI failures
1 parent eb454df commit 8e9af0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: test/test_archive.py

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# a commercial license, send an email to [email protected].
1515
import zipfile
1616
import shutil
17+
import time
1718
from pathlib import Path
1819

1920
import pytest
@@ -25,6 +26,8 @@ def copy_sketch(working_dir):
2526
sketch_path = Path(__file__).parent / "testdata" / "sketch_simple"
2627
test_sketch_path = Path(working_dir) / "sketch_simple"
2728
shutil.copytree(sketch_path, test_sketch_path)
29+
while not Path(test_sketch_path).exists():
30+
time.sleep(1)
2831
yield str(test_sketch_path)
2932

3033

0 commit comments

Comments
 (0)