Files
scoutfs/tests/golden
Chris Kirby 4916b761e1 Fix race in the mmap test
The mmap test kicks off a background xfs_io job, then does a
scoutfs stage operation in the foreground and sleeps for one
second. Usually that's enough time for the background job to
complete, but very rarely it's not.

This manifests as data corruption when we try to read too soon.
But we can also see from the jobs command output that there's
still a job running.

Use an explicit wait instead of the "sleep 1".

Signed-off-by: Chris Kirby <ckirby@versity.com>
2026-07-18 13:07:12 -05:00
..
2022-02-21 10:44:38 -08:00
2026-05-28 12:01:29 -07:00
2022-12-06 10:31:31 -08:00
2026-04-08 13:45:56 -07:00
2024-07-22 14:08:32 -07:00
2026-05-19 19:18:53 -07:00
2021-07-07 14:13:14 -07:00
2022-02-17 11:20:08 -08:00
2021-05-26 14:18:28 -07:00
2026-01-07 08:29:38 -06:00
2019-08-02 16:51:34 -07:00
2021-04-27 12:01:43 -07:00
2026-07-18 13:07:12 -05:00
2021-01-14 13:42:22 -08:00
2023-01-09 14:49:23 -08:00
2024-06-28 15:09:05 -07:00
2026-03-13 15:45:52 -07:00
2024-07-22 14:08:32 -07:00
2024-06-28 15:09:05 -07:00
2025-01-27 14:49:04 -05:00
2020-12-15 15:13:42 -08:00
2021-09-13 14:41:07 -07:00
2025-11-13 12:43:31 -08:00