Skip to content

Commit 128f921

Browse files
committed
Fix flakyness in S3 tests
I have no idea why this is behaving different.
1 parent d924f24 commit 128f921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hydra-node/test/Hydra/Events/S3Spec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec = do
5858
getEvents source `shouldReturn` [123, 456 :: EventId]
5959

6060
it "supports multiple instances" $ \bucketName ->
61-
finally (cleanup bucketName) $ do
61+
bracket_ (pure ()) (cleanup bucketName) $ do
6262
(source1, sink1) <- newS3EventStore bucketName
6363
(source2, sink2) <- newS3EventStore bucketName
6464
putEvent sink1 123

0 commit comments

Comments
 (0)