Skip to content

Commit cd466f1

Browse files
committed
Switch ghcide tests to sequential execution
1 parent d9aaa01 commit cd466f1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ghcide-test/exe/Main.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module Main (main) where
3333
import qualified HieDbRetry
3434
import Test.Tasty
3535
import Test.Tasty.Ingredients.Rerun
36+
import Test.Tasty.Runners
3637

3738
import AsyncTests
3839
import BootTests
@@ -70,7 +71,7 @@ import WatchedFileTests
7071
main :: IO ()
7172
main = do
7273
-- We mess with env vars so run single-threaded.
73-
defaultMainWithRerun $ testGroup "ghcide"
74+
defaultMainWithRerun $ PlusTestOptions mkSequential $ testGroup "ghcide"
7475
[ OpenCloseTest.tests
7576
, InitializeResponseTests.tests
7677
, CompletionTests.tests
@@ -104,3 +105,6 @@ main = do
104105
, HieDbRetry.tests
105106
, ExceptionTests.tests
106107
]
108+
where
109+
PlusTestOptions mkSequential _ =sequentialTestGroup "foo" AllFinish []
110+

0 commit comments

Comments
 (0)