summaryrefslogtreecommitdiff
path: root/contrib/buildsystems/CMakeLists.txt
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2022-05-26 21:47:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-05-26 22:59:28 (GMT)
commit3294ca6140875163b538eab08b56d1c8b3ccca5b (patch)
tree07852d1bf2ad1905c99f6031ef7fcb94e771b804 /contrib/buildsystems/CMakeLists.txt
parent53fcfbc84f68d11c9635fe58f72ce5a83200e051 (diff)
downloadgit-3294ca6140875163b538eab08b56d1c8b3ccca5b.zip
git-3294ca6140875163b538eab08b56d1c8b3ccca5b.tar.gz
git-3294ca6140875163b538eab08b56d1c8b3ccca5b.tar.bz2
t7527: improve implicit shutdown testing in fsmonitor--daemon
Refactor the tests that exercise implicit shutdown cases to make them more robust and less racy. The fsmonitor--daemon will implicitly shutdown in a variety of situations, such as when the ".git" directory is deleted or renamed. The existing tests would delete or rename the directory, sleep for one second, and then check the status of the daemon. This is racy, since the client/status command has no way to sync with the daemon. This was noticed occasionally on very slow CI build machines where it would cause a random test to fail. Replace the simple sleep with a sleep-and-retry loop. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/buildsystems/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions