Skip to content

Commit

Permalink
xfstests: fix timeout issue in no heart beat mode
Browse files Browse the repository at this point in the history
We frequently encounter timeout issues when "rm /tmp/*". So increase the
timeout value to fix this.
  • Loading branch information
lansuse committed Feb 19, 2025
1 parent c677757 commit 6a1429e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xfstests_utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ sub test_run_without_heartbeat {
if ($@) {
$test_status = 'FAILED';
$test_duration = time() - $test_start;
script_run('rm -rf /tmp/*'); # Get some space and inode for no-space-left-on-device error to get reboot signal
script_run('rm -rf /tmp/*', timeout => 90); # Get some space and inode for no-space-left-on-device error to get reboot signal
sleep 2;
copy_all_log($category, $num, $fstype, $btrfs_dump, $raw_dump, $scratch_dev, $scratch_dev_pool, 1);

Expand Down

0 comments on commit 6a1429e

Please sign in to comment.