We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1114925 commit f536c90Copy full SHA for f536c90
servant-client/test/Servant/StreamSpec.hs
@@ -135,6 +135,7 @@ streamSpec = beforeAll (CS.startWaiApp server) $ afterAll CS.endWaiApp $ do
135
jrb = Just (Right bob)
136
testRunResultStream res `shouldReturn` (jra, jrb, jra, Nothing)
137
138
+{-
139
it "streams in constant memory" $ \(_, baseUrl) -> do
140
Right (ResultStream res) <- runClient getGetALot baseUrl
141
let consumeNChunks n = replicateM_ n (res void)
@@ -145,6 +146,7 @@ streamSpec = beforeAll (CS.startWaiApp server) $ afterAll CS.endWaiApp $ do
145
146
memUsed <- currentBytesUsed <$> getGCStats
147
#endif
148
memUsed `shouldSatisfy` (< megabytes 22)
149
+-}
150
151
megabytes :: Num a => a -> a
152
megabytes n = n * (1000 ^ (2 :: Int))
0 commit comments