Stabilize probe startup and throttled downloads

This commit is contained in:
ms2k 2026-07-20 00:35:38 +09:00
commit 68a92662c0

View file

@ -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)