tests: increase guestunmount retries for test-parallel-mount-local

test-parallel-mount-local reliably fails when my machines are
under load (like running the test suite in parallel). The
issue is /usr/libexec/gvfs-udisks2-volume-monitor fiddling with
the fuse mounts, preventing them from being unmounted.

./fuse/guestunmount defaults to 5 unmount retries with increasing
time backoff, but apparently that isn't enough. Bumping it to
use 10 retries makes things more reliable for me.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson
2025-10-14 13:11:05 -04:00
committed by rwmjones
parent e75018a534
commit 630628af78

View File

@@ -371,7 +371,7 @@ guestunmount (const char *mp, unsigned flags)
}
snprintf (cmd, sizeof cmd,
"../fuse/guestunmount%s %s",
"../fuse/guestunmount%s --retry 10 %s",
(flags & GUESTUNMOUNT_SILENT) ? " --quiet" : "", mp);
status = system (cmd);