@@ -5,11 +5,25 @@ module Main
5
5
) where
6
6
7
7
import qualified Cardano.Crypto.Init as Crypto
8
- import qualified Cardano.Testnet.Test.Cli.StakeSnapshot
9
- import qualified Cardano.Testnet.Test.Cli.Transaction
8
+ import qualified Cardano.Testnet.Test.Cli.Conway.Plutus
10
9
import qualified Cardano.Testnet.Test.Cli.KesPeriodInfo
10
+ import qualified Cardano.Testnet.Test.Cli.LeadershipSchedule
11
+ import qualified Cardano.Testnet.Test.Cli.Query
11
12
import qualified Cardano.Testnet.Test.Cli.QuerySlotNumber
13
+ import qualified Cardano.Testnet.Test.Cli.StakeSnapshot
14
+ import qualified Cardano.Testnet.Test.Cli.Transaction
12
15
import qualified Cardano.Testnet.Test.FoldEpochState
16
+ import qualified Cardano.Testnet.Test.Gov.CommitteeAddNew as Gov
17
+ import qualified Cardano.Testnet.Test.Gov.DRepDeposit as Gov
18
+ import qualified Cardano.Testnet.Test.Gov.DRepRetirement as Gov
19
+ import qualified Cardano.Testnet.Test.Gov.GovActionTimeout as Gov
20
+ import qualified Cardano.Testnet.Test.Gov.NoConfidence as Gov
21
+ import qualified Cardano.Testnet.Test.Gov.PParamChangeFailsSPO as Gov
22
+ import qualified Cardano.Testnet.Test.Gov.ProposeNewConstitution as Gov
23
+ import qualified Cardano.Testnet.Test.Gov.ProposeNewConstitutionSPO as Gov
24
+ import qualified Cardano.Testnet.Test.Gov.TreasuryDonation as Gov
25
+ import qualified Cardano.Testnet.Test.Gov.TreasuryGrowth as Gov
26
+ import qualified Cardano.Testnet.Test.Gov.TreasuryWithdrawal as Gov
13
27
import qualified Cardano.Testnet.Test.Node.Shutdown
14
28
import qualified Cardano.Testnet.Test.SanityCheck as LedgerEvents
15
29
import qualified Cardano.Testnet.Test.SubmitApi.Transaction
@@ -29,34 +43,30 @@ tests = do
29
43
pure $ T. testGroup " test/Spec.hs"
30
44
[ T. testGroup " Spec"
31
45
[ T. testGroup " Ledger Events"
32
- [ ignoreOnWindows " Sanity Check" LedgerEvents. hprop_ledger_events_sanity_check
33
- -- , ignoreOnWindows "Treasury Growth" Gov.prop_check_if_treasury_is_growing
46
+ [ ignoreOnWindows " Sanity Check" LedgerEvents. hprop_ledger_events_sanity_check
47
+ , ignoreOnWindows " Treasury Growth" Gov. prop_check_if_treasury_is_growing
34
48
-- TODO: Replace foldBlocks with checkConditionResult
35
49
-- TODO: All governance related tests disabled in cardano-node-9.2 due to flakiness
36
- -- , T.testGroup "Governance"
37
- -- [ ignoreOnMacAndWindows "Committee Add New" Gov.hprop_constitutional_committee_add_new
38
- -- Committee Motion Of No Confidence - disabled in cardano-node-9.2
39
- -- , ignoreOnMacAndWindows "Committee Motion Of No Confidence" Gov.hprop_gov_no_confidence
50
+ , T. testGroup " Governance"
51
+ [ ignoreOnMacAndWindows " Committee Add New" Gov. hprop_constitutional_committee_add_new
52
+ , ignoreOnMacAndWindows " Committee Motion Of No Confidence" Gov. hprop_gov_no_confidence
40
53
-- TODO: Disabled because proposals for parameter changes are not working
41
54
-- , ignoreOnWindows "DRep Activity" Gov.hprop_check_drep_activity
42
- -- , ignoreOnWindows "Predefined Abstain DRep" Gov.hprop_check_predefined_abstain_drep
43
- -- DRep Deposits flakey - disabled in cardano-node-9.2
44
- -- , ignoreOnWindows "DRep Deposits" Gov.hprop_ledger_events_drep_deposits
45
- -- , ignoreOnWindows "DRep Retirement" Gov.hprop_drep_retirement
46
- -- , ignoreOnMacAndWindows "Propose And Ratify New Constitution" Gov.hprop_ledger_events_propose_new_constitution
47
- -- , ignoreOnWindows "Propose New Constitution SPO" Gov.hprop_ledger_events_propose_new_constitution_spo
48
- -- , ignoreOnWindows "Gov Action Timeout" Gov.hprop_check_gov_action_timeout
49
- -- , ignoreOnWindows "Treasury Donation" Gov.hprop_ledger_events_treasury_donation
50
- -- Treasury Withdrawal flakey - disabled in cardano-node-9.2
51
- -- , ignoreOnMacAndWindows "Treasury Withdrawal" Gov.hprop_ledger_events_treasury_withdrawal
52
- -- , ignoreOnWindows "PParam change fails for SPO" Gov.hprop_check_pparam_fails_spo
55
+ -- , ignoreOnWindows "Predefined Abstain DRep" Gov.hprop_check_predefined_abstain_drep
56
+ , ignoreOnWindows " DRep Deposits" Gov. hprop_ledger_events_drep_deposits
57
+ , ignoreOnWindows " DRep Retirement" Gov. hprop_drep_retirement
58
+ , ignoreOnMacAndWindows " Propose And Ratify New Constitution" Gov. hprop_ledger_events_propose_new_constitution
59
+ , ignoreOnWindows " Propose New Constitution SPO" Gov. hprop_ledger_events_propose_new_constitution_spo
60
+ , ignoreOnWindows " Gov Action Timeout" Gov. hprop_check_gov_action_timeout
61
+ , ignoreOnWindows " Treasury Donation" Gov. hprop_ledger_events_treasury_donation
62
+ , ignoreOnMacAndWindows " Treasury Withdrawal" Gov. hprop_ledger_events_treasury_withdrawal
63
+ , ignoreOnWindows " PParam change fails for SPO" Gov. hprop_check_pparam_fails_spo
53
64
-- FIXME Those tests are flaky
54
65
-- , ignoreOnWindows "InfoAction" LedgerEvents.hprop_ledger_events_info_action
55
66
]
56
- -- Plutus flakey - disabled in cardano-node-9.2
57
- -- , T.testGroup "Plutus"
58
- -- [ ignoreOnWindows "PlutusV3" Cardano.Testnet.Test.Cli.Conway.Plutus.hprop_plutus_v3]
59
-
67
+ , T. testGroup " Plutus"
68
+ [ ignoreOnWindows " PlutusV3" Cardano.Testnet.Test.Cli.Conway.Plutus. hprop_plutus_v3]
69
+ ]
60
70
, T. testGroup " CLI"
61
71
[ ignoreOnWindows " Shutdown" Cardano.Testnet.Test.Node.Shutdown. hprop_shutdown
62
72
-- ShutdownOnSigint fails on Mac with
@@ -66,8 +76,7 @@ tests = do
66
76
-- , ignoreOnWindows "ShutdownOnSlotSynced" Cardano.Testnet.Test.Node.Shutdown.hprop_shutdownOnSlotSynced
67
77
, ignoreOnWindows " stake-snapshot" Cardano.Testnet.Test.Cli.StakeSnapshot. hprop_stakeSnapshot
68
78
, ignoreOnWindows " simple transaction build" Cardano.Testnet.Test.Cli.Transaction. hprop_transaction
69
- -- "leadership-schedule" flakey - disabled in cardano-node-9.2
70
- -- , ignoreOnMacAndWindows "leadership-schedule" Cardano.Testnet.Test.Cli.LeadershipSchedule.hprop_leadershipSchedule
79
+ , ignoreOnMacAndWindows " leadership-schedule" Cardano.Testnet.Test.Cli.LeadershipSchedule. hprop_leadershipSchedule
71
80
72
81
-- TODO: Conway - Re-enable when create-staked is working in conway again
73
82
-- , T.testGroup "Conway"
@@ -78,13 +87,12 @@ tests = do
78
87
, ignoreOnWindows " kes-period-info" Cardano.Testnet.Test.Cli.KesPeriodInfo. hprop_kes_period_info
79
88
, ignoreOnWindows " query-slot-number" Cardano.Testnet.Test.Cli.QuerySlotNumber. hprop_querySlotNumber
80
89
, ignoreOnWindows " foldEpochState receives ledger state" Cardano.Testnet.Test.FoldEpochState. prop_foldEpochState
81
- -- , ignoreOnMacAndWindows "CliQueries" Cardano.Testnet.Test.Cli.Query.hprop_cli_queries
90
+ , ignoreOnMacAndWindows " CliQueries" Cardano.Testnet.Test.Cli.Query. hprop_cli_queries
82
91
]
83
92
]
84
93
, T. testGroup " SubmitApi"
85
- [ ignoreOnMacAndWindows " transaction" Cardano.Testnet.Test.SubmitApi.Transaction. hprop_transaction
86
- ]
87
-
94
+ [ ignoreOnMacAndWindows " transaction" Cardano.Testnet.Test.SubmitApi.Transaction. hprop_transaction
95
+ ]
88
96
]
89
97
90
98
main :: IO ()
0 commit comments