We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a96eb9e commit e1bda13Copy full SHA for e1bda13
src/Stack/Build/Execute.hs
@@ -1934,7 +1934,8 @@ singleTest topts testsToRun ac ee task installedMap = do
1934
fp' = eeTempDir ee </> testGhcEnvRelFile
1935
-- Add a random suffix to avoid conflicts between parallel jobs
1936
-- See https://github.com/commercialhaskell/stack/issues/5024
1937
- randomSuffix <- ("-"<>) . show <$> liftIO (randomIO :: IO Int)
+ randomInt <- liftIO (randomIO :: IO Int)
1938
+ let randomSuffix = "." <> (show $ abs randomInt)
1939
fp <- toFilePath <$> addExtension randomSuffix fp'
1940
let snapDBPath = toFilePathNoTrailingSep (bcoSnapDB $ eeBaseConfigOpts ee)
1941
localDBPath = toFilePathNoTrailingSep (bcoLocalDB $ eeBaseConfigOpts ee)
0 commit comments