Skip to content

Commit

Permalink
More debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Nov 15, 2023
1 parent 1c97eae commit c72035d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ipi_tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,16 +346,17 @@ def run(self, cwd, nid):

# check driver errors
for driver in drivers:
driver_out, driver_err = driver.communicate(timeout=120)
driver_out, driver_err = driver.communicate(timeout=180)
assert driver.returncode == 0, "DRIVER ERROR OCCURRED: {}".format(
driver_err
)

# check i-pi errors
ipi_out, ipi_error = ipi.communicate(timeout=120)
ipi_out, ipi_error = ipi.communicate(timeout=180)
assert ipi.returncode == 0, "IPI ERROR OCCURRED: {}".format(ipi_error)

except sp.TimeoutExpired:
print(" TIMEOUT during {} test ", str(cwd))
raise RuntimeError(
"Time is out. Aborted during {} test. \
Error {}".format(
Expand Down

0 comments on commit c72035d

Please sign in to comment.