Skip to content

Commit 1326829

Browse files
palascarbolymer
andcommitted
Apply watchdog
Co-authored-by: Mateusz Galazyn <[email protected]>
1 parent 40d3afa commit 1326829

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/PredefinedNoConfidenceDRep.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import System.FilePath ((</>))
3535

3636
import Testnet.Components.Query (EpochStateView, findLargestUtxoForPaymentKey,
3737
getCurrentEpochNo, getEpochStateView, getMinDRepDeposit, watchEpochStateView)
38+
import Testnet.Components.TestWatchdog (runWithDefaultWatchdog_)
3839
import Testnet.Defaults (defaultDelegatorStakeKeyPair)
3940
import qualified Testnet.Process.Cli.Keys as P
4041
import Testnet.Process.Cli.Transaction (retrieveTransactionId, signTx, submitTx)
@@ -49,7 +50,7 @@ import qualified Hedgehog.Extras as H
4950
-- | Execute me with:
5051
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/Predefined No Confidence DRep/"'@
5152
hprop_check_predefined_no_confidence_drep :: Property
52-
hprop_check_predefined_no_confidence_drep = H.integrationWorkspace "test-activity" $ \tempAbsBasePath' -> do
53+
hprop_check_predefined_no_confidence_drep = H.integrationWorkspace "test-activity" $ \tempAbsBasePath' -> runWithDefaultWatchdog_ $ do
5354
-- Start a local test net
5455
conf@Conf { tempAbsPath } <- mkConf tempAbsBasePath'
5556
let tempAbsPath' = unTmpAbsPath tempAbsPath

0 commit comments

Comments
 (0)