We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56560b6 commit 7b26cb2Copy full SHA for 7b26cb2
tests/infra/remote.py
@@ -130,7 +130,13 @@ def get(
130
break
131
time.sleep(0.1)
132
else:
133
- raise ValueError(path)
+ status = "not started"
134
+ if self.proc is not None:
135
+ if self.proc.poll() is None:
136
+ status = "running"
137
+ else:
138
+ status = f"stopped (rc: {self.proc.poll()})"
139
+ raise ValueError(f"{path} not found after {timeout} seconds, {status}")
140
if not pre_condition_func(path, os.listdir):
141
raise RuntimeError("Pre-condition for getting remote files failed")
142
target_name = target_name or os.path.basename(src_path)
0 commit comments