File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ spec = parallel $ do
125
125
send n1 Close
126
126
waitForNext n1 >>= assertHeadIsClosed
127
127
waitUntil [n1] $ ReadyToFanout testHeadId
128
- nothingHappensFor n1 1000000
128
+ nothingHappensFor n1 100000
129
129
130
130
it " does finalize head after contestation period upon command" $
131
131
shouldRunInSim $ do
@@ -1229,12 +1229,12 @@ newDeadlineFarEnoughFromNow =
1229
1229
addUTCTime (3 * DP. toNominalDiffTime defaultDepositPeriod) <$> getCurrentTime
1230
1230
1231
1231
nothingHappensFor ::
1232
- (MonadTimer m , MonadThrow m , IsChainState tx , MonadAsync m ) =>
1232
+ (MonadTimer m , MonadThrow m , IsChainState tx ) =>
1233
1233
TestHydraClient tx m ->
1234
1234
NominalDiffTime ->
1235
1235
m ()
1236
- nothingHappensFor TestHydraClient {waitForNext, waitForNextMessage} secs =
1237
- timeout (realToFrac secs) (race waitForNext waitForNextMessage ) >>= (`shouldBe` Nothing )
1236
+ nothingHappensFor node secs =
1237
+ timeout (realToFrac secs) (waitForNext node ) >>= (`shouldBe` Nothing )
1238
1238
1239
1239
withHydraNode ::
1240
1240
forall s a .
You can’t perform that action at this time.
0 commit comments