Skip to content

Commit

Permalink
Reduce upload test's latency by 4 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Jan 19, 2024
1 parent b79637a commit b3a0352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/tests/upload/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ withFakeHackage act = do
-- Start the fake server
withCreateProcess (proc stackEnv $ withNetworkArgs ++ ["FakeHackage.hs"]) $ \_ _ _ _ -> do
-- Wait for the fake server to start accepting requests
threadDelay 10000000
threadDelay 6000000
act
where
withNetworkArgs = ["runghc", "--package", "network"]

0 comments on commit b3a0352

Please sign in to comment.