Skip to content

Commit

Permalink
test: fix insufficient free space error message
Browse files Browse the repository at this point in the history
to appease codespell, and improve its grammar
  • Loading branch information
jonatack committed May 11, 2024
1 parent d91d395 commit 950b3d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,11 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage=
print("\n".join(deque(combined_logs.splitlines(), combined_logs_len)))

if failfast:
logging.debug("Early exiting after test failure")
logging.debug("Exiting early after test failure")
break

if "[Errno 28] No space left on device" in stdout:
sys.exit(f"Early exiting after test failure due to insuffient free space in {tmpdir}\n"
sys.exit(f"Exiting early after test failure due to insufficient free space in {tmpdir}\n"
f"Test execution data left in {tmpdir}.\n"
f"Additional storage is needed to execute testing.")

Expand Down

0 comments on commit 950b3d4

Please sign in to comment.