Skip to content

Commit

Permalink
Increase upload test's latency by 8 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Jan 19, 2024
1 parent 3141992 commit b79637a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
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 2000000
threadDelay 10000000
act
where
withNetworkArgs = ["runghc", "--package", "network"]
4 changes: 0 additions & 4 deletions tests/integration/tests/upload/files/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
resolver: lts-22.6

packages:
- .

hackage-base-url: http://localhost:12415/

0 comments on commit b79637a

Please sign in to comment.