Commit 8d07c48c authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

test: fix conc038

We had spurious failures of conc038 test on CI with stdout:

```
 newThread started
-mainThread
-Haskell: 2
 newThread back again
+mainThread
 1 sec later

 shutting down
+Haskell: 2
```
parent 9b283e1b
Pipeline #20819 failed with stages
in 339 minutes and 30 seconds
......@@ -24,9 +24,9 @@ main = do
th <- newEmptyMVar
forkIO $ do
putStrLn "newThread started"
sleepBlock 1
sleepBlock 2
putStrLn "newThread back again"
putMVar th "1 sec later"
putMVar th "2 secs later"
threadDelay 500000 >> putStrLn "mainThread"
-- this will not be blocked in the threaded RTS
forkIO $ (hFun 2)
......
......@@ -2,6 +2,6 @@ newThread started
mainThread
Haskell: 2
newThread back again
1 sec later
2 secs later
shutting down
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