Stabilize probe startup and throttled downloads
This commit is contained in:
parent
dbff8c586d
commit
68a92662c0
1 changed files with 21 additions and 4 deletions
|
|
@ -167,6 +167,8 @@ verifyThrottle context session directory = do
|
|||
, probeBase context
|
||||
<> "/api/download?root=personal&path=streaming-large.bin"
|
||||
]) :: IO (Either SomeException CurlResponse)
|
||||
BS.writeFile firstPath BS.empty
|
||||
BS.writeFile secondPath BS.empty
|
||||
(first, second) <- concurrently (downloadTo firstPath) (downloadTo secondPath)
|
||||
assert "first throttled download completed" (isLeft first)
|
||||
assert "second throttled download completed" (isLeft second)
|
||||
|
|
|
|||
Loading…
Reference in a new issue