Skip to content

Commit c581f57

Browse files
committed
Generally increase wait times to hopefully improve reliability
1 parent b0bd93e commit c581f57

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

runner/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def setup_argparse():
184184
submit_image(result, hardware, timestamp, file, runner_id, submit_url)
185185
else:
186186
store_image(result, file)
187-
time.sleep(2.5)
187+
time.sleep(5.0)
188188
else:
189189
tests = args.test.split(",")
190190
print(f"Running tests: {tests}")
@@ -205,7 +205,7 @@ def setup_argparse():
205205
submit_image(result, hardware, timestamp, file, runner_id, submit_url)
206206
else:
207207
store_image(result, file)
208-
time.sleep(2.5)
208+
time.sleep(5.0)
209209

210210
global_end = time.perf_counter()
211211
print(f"Total time for all tests: {global_end - global_start}")

runner/testsuite/openspace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def run_single_test(test_path, executable) -> TestResult:
140140

141141
# Add a sleeping time instead of repeatedly trying to reconnect. Starting up OpenSpace
142142
# in general takes longer than this, so we don't actually lose any time
143-
time.sleep(30)
143+
time.sleep(45)
144144

145145

146146
async def mainLoop():
@@ -164,7 +164,7 @@ async def mainLoop():
164164

165165

166166
# Another wait while OpenSpace is shutting down
167-
time.sleep(2)
167+
time.sleep(5)
168168

169169
# Get the error log from the OpenSpace subprocess
170170
error_log = process.stderr.read().decode()

runner/testsuite/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ async def run(self, openspace):
103103
"""
104104
for instruction in self.instructions:
105105
await instruction.run(openspace)
106-
time.sleep(0.25)
106+
time.sleep(1.0)

0 commit comments

Comments
 (0)