Skip to content

Commit 5a59a1f

Browse files
committed
retry
1 parent bcac708 commit 5a59a1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integ/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def local_container(device, task, repository_id, framework):
125125
model_dir = f"{HF_HUB_CACHE}/{object_id}"
126126

127127
_storage_dir = _load_repository_from_hf(
128-
repository_id=model, target_dir=model_dir, framework=framework
128+
repository_id=model, target_dir=model_dir
129129
)
130130

131131
yield client.containers.run(
@@ -143,6 +143,7 @@ def local_container(device, task, repository_id, framework):
143143

144144
# Teardown
145145
previous = client.containers.get(container_name)
146+
time.sleep(5)
146147
logs = previous.logs().decode("utf-8")
147148
logging.info(f"Container logs:\n{logs}")
148149
previous.stop()

0 commit comments

Comments
 (0)