Skip to content

Commit 300b351

Browse files
committed
Make watchdogProp do nothing
1 parent 5471b81 commit 300b351

File tree

1 file changed

+3
-5
lines changed
  • cardano-cli/test/cardano-cli-test-lib/Test/Cardano/CLI

1 file changed

+3
-5
lines changed

cardano-cli/test/cardano-cli-test-lib/Test/Cardano/CLI/Util.hs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import Hedgehog qualified as H
5656
import Hedgehog.Extras (ExecConfig)
5757
import Hedgehog.Extras qualified as H
5858
import Hedgehog.Extras.Test (ExecConfig (..))
59-
import Hedgehog.Internal.Property (Diff, MonadTest, Property (..), liftTest, mkTest)
59+
import Hedgehog.Internal.Property (Diff, MonadTest, liftTest, mkTest)
6060
import Hedgehog.Internal.Property qualified as H
6161
import Hedgehog.Internal.Show (ValueDiff (ValueSame), mkValue, showPretty, valueDiff)
6262
import Hedgehog.Internal.Source (getCaller)
@@ -349,7 +349,5 @@ redactJsonField fieldName replacement sourceFilePath targetFilePath = GHC.withFr
349349
v -> pure v
350350
H.evalIO $ LBS.writeFile targetFilePath (Aeson.encodePretty redactedJson)
351351

352-
watchdogProp :: HasCallStack => H.Property -> H.Property
353-
watchdogProp prop@Property{propertyTest} = prop{propertyTest = H.runWithWatchdog_ cfg propertyTest}
354-
where
355-
cfg = H.WatchdogConfig{H.watchdogTimeout = 20}
352+
watchdogProp :: H.Property -> H.Property
353+
watchdogProp = id

0 commit comments

Comments
 (0)