From c4d1a19b3374ae91915e12678f50add22d15912d Mon Sep 17 00:00:00 2001
From: Tino Reichardt <milky-zfs@mcmilk.de>
Date: Sun, 15 Sep 2024 09:42:55 +0200
Subject: [PATCH] ZTS: increase timeout of mmap_sync_001_pos

On load the test needs sometimes a bit more time then just one second.
Doubling the time will help on the QEMU based testings.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #16537
---
 tests/zfs-tests/cmd/mmap_sync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/zfs-tests/cmd/mmap_sync.c b/tests/zfs-tests/cmd/mmap_sync.c
index 226e71be2f57..f9008eeaf31a 100644
--- a/tests/zfs-tests/cmd/mmap_sync.c
+++ b/tests/zfs-tests/cmd/mmap_sync.c
@@ -64,7 +64,7 @@ main(int argc, char *argv[])
 		run_time_mins = atoi(argv[1]);
 	}
 
-	int max_msync_time_ms = 1000;
+	int max_msync_time_ms = 2000;
 	if (argc >= 3) {
 		max_msync_time_ms = atoi(argv[2]);
 	}