File tree Expand file tree Collapse file tree 12 files changed +14
-14
lines changed
cardano-node-chairman/test/Spec/Chairman
cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test Expand file tree Collapse file tree 12 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import qualified Hedgehog.Extras as H
16
16
import Spec.Chairman.Chairman (chairmanOver )
17
17
18
18
hprop_chairman :: H. Property
19
- hprop_chairman = integrationRetryWorkspace 0 " cardano-chairman" $ \ tempAbsPath' -> H. runWithDefaultWatchdog_ $ do
19
+ hprop_chairman = integrationRetryWorkspace 2 " cardano-chairman" $ \ tempAbsPath' -> H. runWithDefaultWatchdog_ $ do
20
20
conf <- mkConf tempAbsPath'
21
21
22
22
allNodes <- testnetNodes <$> cardanoTestnetDefault def def conf
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import qualified Hedgehog.Extras.Test.Base as H
29
29
import qualified Hedgehog.Extras.Test.TestWatchdog as H
30
30
31
31
hprop_stakeSnapshot :: Property
32
- hprop_stakeSnapshot = integrationRetryWorkspace 0 " conway-stake-snapshot" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
32
+ hprop_stakeSnapshot = integrationRetryWorkspace 2 " conway-stake-snapshot" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
33
33
H. note_ SYS. os
34
34
conf@ Conf { tempAbsPath } <- mkConf tempAbsBasePath'
35
35
let tempAbsPath' = unTmpAbsPath tempAbsPath
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ import qualified Hedgehog.Extras.Test.TestWatchdog as H
54
54
-- | Execute me with:
55
55
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/kes-period-info/"'@
56
56
hprop_kes_period_info :: Property
57
- hprop_kes_period_info = integrationRetryWorkspace 0 " kes-period-info" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
57
+ hprop_kes_period_info = integrationRetryWorkspace 2 " kes-period-info" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
58
58
H. note_ SYS. os
59
59
conf@ Conf { tempAbsPath= tempAbsPath@ (TmpAbsolutePath work) }
60
60
-- TODO: Move yaml filepath specification into individual node options
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ import qualified Hedgehog.Extras.Test.TestWatchdog as H
57
57
-- | Execute me with:
58
58
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/leadership-schedule/"'@
59
59
hprop_leadershipSchedule :: Property
60
- hprop_leadershipSchedule = integrationRetryWorkspace 0 " leadership-schedule" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
60
+ hprop_leadershipSchedule = integrationRetryWorkspace 2 " leadership-schedule" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
61
61
H. note_ SYS. os
62
62
conf@ Conf { tempAbsPath= tempAbsPath@ (TmpAbsolutePath work) } <- mkConf tempAbsBasePath'
63
63
let tempBaseAbsPath = makeTmpBaseAbsPath tempAbsPath
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import qualified Hedgehog.Internal.Property as H
36
36
37
37
-- | Tests @query slot-number@ cardano-cli command that it returns correct slot numbers for provided utc time
38
38
hprop_querySlotNumber :: Property
39
- hprop_querySlotNumber = integrationRetryWorkspace 0 " query-slot-number" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
39
+ hprop_querySlotNumber = integrationRetryWorkspace 2 " query-slot-number" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
40
40
H. note_ SYS. os
41
41
conf <- mkConf tempAbsBasePath'
42
42
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import qualified Hedgehog.Extras.Test.Base as H
30
30
import qualified Hedgehog.Extras.Test.TestWatchdog as H
31
31
32
32
hprop_stakeSnapshot :: Property
33
- hprop_stakeSnapshot = integrationRetryWorkspace 0 " stake-snapshot" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
33
+ hprop_stakeSnapshot = integrationRetryWorkspace 2 " stake-snapshot" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
34
34
H. note_ SYS. os
35
35
conf@ Conf { tempAbsPath } <- mkConf tempAbsBasePath'
36
36
let tempAbsPath' = unTmpAbsPath tempAbsPath
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import qualified Hedgehog.Extras.Test.TestWatchdog as H
42
42
-- | Execute me with:
43
43
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/simple transaction build/"'@
44
44
hprop_transaction :: Property
45
- hprop_transaction = integrationRetryWorkspace 0 " simple transaction build" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
45
+ hprop_transaction = integrationRetryWorkspace 2 " simple transaction build" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
46
46
H. note_ SYS. os
47
47
conf@ Conf { tempAbsPath } <- mkConf tempAbsBasePath'
48
48
let tempAbsPath' = unTmpAbsPath tempAbsPath
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ sbe = ShelleyBasedEraConway
39
39
-- Execute this test with:
40
40
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/DRepRetirement/"'@
41
41
hprop_drep_retirement :: Property
42
- hprop_drep_retirement = integrationRetryWorkspace 0 " drep-retirement" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
42
+ hprop_drep_retirement = integrationRetryWorkspace 2 " drep-retirement" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
43
43
-- Start a local test net
44
44
conf@ Conf { tempAbsPath } <- H. noteShowM $ mkConf tempAbsBasePath'
45
45
let tempAbsPath' = unTmpAbsPath tempAbsPath
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ import qualified Hedgehog.Extras as H
48
48
-- | Execute me with:
49
49
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/InfoAction/'@
50
50
hprop_ledger_events_info_action :: Property
51
- hprop_ledger_events_info_action = integrationRetryWorkspace 0 " info-hash" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
51
+ hprop_ledger_events_info_action = integrationRetryWorkspace 2 " info-hash" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
52
52
53
53
54
54
conf@ Conf { tempAbsPath } <- H. noteShowM $ mkConf tempAbsBasePath'
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import qualified Hedgehog.Extras.Test as H
34
34
-- | Execute me with:
35
35
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/Treasury Growth/"'@
36
36
prop_check_if_treasury_is_growing :: H. Property
37
- prop_check_if_treasury_is_growing = integrationRetryWorkspace 0 " growing-treasury" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
37
+ prop_check_if_treasury_is_growing = integrationRetryWorkspace 2 " growing-treasury" $ \ tempAbsBasePath' -> H. runWithDefaultWatchdog_ $ do
38
38
-- Start testnet
39
39
conf@ Conf {tempAbsPath= TmpAbsolutePath tempAbsPath'} <- TN. mkConf tempAbsBasePath'
40
40
let tempBaseAbsPath = makeTmpBaseAbsPath $ tempAbsPath conf
You can’t perform that action at this time.
0 commit comments