Skip to content

Commit

Permalink
Explicit is better than implicit
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini authored and mergify[bot] committed May 7, 2022
1 parent 9a55a0f commit 00c9776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-testsuite/src/Test/Cabal/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ withRemoteRepo repoDir m = do
putStrLn =<< readFile (testUserCabalConfigFile env)

withAsync
(runReaderT (python3 ["-m", "http.server", "-d", workDir]) env)
(runReaderT (python3 ["-m", "http.server", "-d", workDir, "--bind", "localhost", "8000"]) env)
(\_ -> do
-- wait for the python webserver to come up with a exponential
-- backoff starting from 50ms, up to a maximum wait of 60s
Expand Down

0 comments on commit 00c9776

Please sign in to comment.