Skip to content

Commit 91f3523

Browse files
committed
Try again with one thread
1 parent 0701f3c commit 91f3523

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/functional/Main.hs

+4-2
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,19 @@ import Progress
2121
import Reference
2222
import Rename
2323
import Symbol
24+
import System.Environment
2425
import TypeDefinition
2526

2627
main :: IO ()
27-
main =
28+
main = do
29+
setEnv "TASTY_NUM_THREADS" "1"
2830
-- ingredient: xml runner writes json file of test results (https://github.com/ocharles/tasty-ant-xml/blob/master/Test/Tasty/Runners/AntXML.hs)
2931
-- rerunningTests allow rerun of failed tests (https://github.com/ocharles/tasty-rerun/blob/master/src/Test/Tasty/Ingredients/Rerun.hs)
3032
defaultMainWithIngredients [
3133
antXMLRunner
3234
, rerunningTests [ listingTests, consoleTestReporter ]
3335
]
34-
$ testGroup "haskell-language-server" [
36+
$ testGroup "haskell-language-server" [
3537
Command.tests
3638
, Completion.tests
3739
, Deferred.tests

0 commit comments

Comments
 (0)