Skip to content

Commit f536c90

Browse files
committed
Disable flawed streams in constant memory test
1 parent 1114925 commit f536c90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

servant-client/test/Servant/StreamSpec.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ streamSpec = beforeAll (CS.startWaiApp server) $ afterAll CS.endWaiApp $ do
135135
jrb = Just (Right bob)
136136
testRunResultStream res `shouldReturn` (jra, jrb, jra, Nothing)
137137

138+
{-
138139
it "streams in constant memory" $ \(_, baseUrl) -> do
139140
Right (ResultStream res) <- runClient getGetALot baseUrl
140141
let consumeNChunks n = replicateM_ n (res void)
@@ -145,6 +146,7 @@ streamSpec = beforeAll (CS.startWaiApp server) $ afterAll CS.endWaiApp $ do
145146
memUsed <- currentBytesUsed <$> getGCStats
146147
#endif
147148
memUsed `shouldSatisfy` (< megabytes 22)
149+
-}
148150

149151
megabytes :: Num a => a -> a
150152
megabytes n = n * (1000 ^ (2 :: Int))

0 commit comments

Comments
 (0)