Skip to content

Commit 4bc38b1

Browse files
committed
XXX must investigate why this fixes CI XXX
1 parent 84d7df8 commit 4bc38b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/functional/test_runner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,11 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage=
565565
logging.debug("Early exiting after test failure")
566566
break
567567

568-
shutil_disk_usage_stat_ = shutil.disk_usage(testdir)
568+
try: # XXX
569+
shutil_disk_usage_stat_ = shutil.disk_usage(testdir)
570+
except FileNotFoundError: # XXX
571+
logging.debug('I am here') # XXX
572+
shutil_disk_usage_stat_ = shutil.disk_usage('/tmp/') # XXX
569573
# Stop testing if free space in the drive is so low every subsequent test will fail,
570574
# sometimes without even being able to properly write logs (when getting busiest down to 0 free bytes).
571575
# If free space is larger than 0 but smaller than several MiB, nodes will fail to boot and log a message

0 commit comments

Comments
 (0)