Commit 4a12f6f7 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺 Committed by Alexis Williams
Browse files

Increment duncan's windows sleep-hack from 1s to 10s

NB: this is only for confirming a theory
parent 539bc160
...@@ -145,8 +145,8 @@ testSetup vcs mkVCSTestDriver repoRecipe theTest = do ...@@ -145,8 +145,8 @@ testSetup vcs mkVCSTestDriver repoRecipe theTest = do
-- https://msdn.microsoft.com/en-us/library/windows/desktop/aa365202.aspx -- https://msdn.microsoft.com/en-us/library/windows/desktop/aa365202.aspx
-- This means we run into stale locks when trying to delete the test -- This means we run into stale locks when trying to delete the test
-- directory. There is no sane way to wait on those locks being released, -- directory. There is no sane way to wait on those locks being released,
-- we just have to wait and hope. Lets hope 1 second is enough. -- we just have to wait and hope. Lets hope 10 second is enough.
when isWindows $ threadDelay 1000000 when isWindows $ threadDelay 10000000
return result return result
where where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment