Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 0292506

Browse files
author
Patrick Thomson
committed
Account for occasional race conditions in testsForLanguage.
Not sure where this is coming from, but we don't want the builders to get stuck.
1 parent 6a24b9c commit 0292506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Integration/Spec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ testsForLanguage :: (?session :: TaskSession) => FilePath -> TestTree
2525
testsForLanguage language = do
2626
let dir = "test/fixtures" </> language </> "corpus"
2727
let items = unsafePerformIO (examples dir)
28-
testGroup language (fmap testForExample items)
28+
localOption (mkTimeout 3000000) $ testGroup language $ fmap testForExample items
2929
{-# NOINLINE testsForLanguage #-}
3030

3131
data Example = DiffExample { fileA :: FilePath, fileB :: FilePath, diffOutput :: FilePath }

0 commit comments

Comments
 (0)