diff --git a/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs b/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs index 079cdbcb6e9..3b8e2ca855f 100644 --- a/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs +++ b/cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs @@ -5,23 +5,6 @@ module Main ) where import qualified Cardano.Crypto.Init as Crypto -import qualified Cardano.Testnet.Test.Cli.Babbage.LeadershipSchedule -import qualified Cardano.Testnet.Test.Cli.Babbage.StakeSnapshot -import qualified Cardano.Testnet.Test.Cli.Babbage.Transaction -import qualified Cardano.Testnet.Test.Cli.Conway.Plutus -import qualified Cardano.Testnet.Test.Cli.KesPeriodInfo -import qualified Cardano.Testnet.Test.Cli.Queries -import qualified Cardano.Testnet.Test.Cli.QuerySlotNumber -import qualified Cardano.Testnet.Test.FoldBlocks -import qualified Cardano.Testnet.Test.Gov.DRepDeposits -import qualified Cardano.Testnet.Test.Gov.DRepRetirement as DRepRetirement -import qualified Cardano.Testnet.Test.Gov.ProposeNewConstitution -import qualified Cardano.Testnet.Test.Gov.ProposeNewConstitutionSPO as LedgerEvents -import qualified Cardano.Testnet.Test.Gov.TreasuryGrowth as LedgerEvents -import qualified Cardano.Testnet.Test.Gov.TreasuryWithdrawal as LedgerEvents -import qualified Cardano.Testnet.Test.Node.Shutdown -import qualified Cardano.Testnet.Test.SanityCheck as LedgerEvents -import qualified Cardano.Testnet.Test.SubmitApi.Babbage.Transaction import Prelude @@ -44,51 +27,51 @@ tests = do pure $ T.testGroup "test/Spec.hs" [ T.testGroup "Spec" [ T.testGroup "Ledger Events" - [ H.ignoreOnWindows "Sanity Check" LedgerEvents.hprop_ledger_events_sanity_check - , H.ignoreOnWindows "Treasury Growth" LedgerEvents.prop_check_if_treasury_is_growing - -- TODO: Replace foldBlocks with checkLedgerStateCondition - , T.testGroup "Governance" - [ H.ignoreOnMacAndWindows "ProposeAndRatifyNewConstitution" Cardano.Testnet.Test.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution - , H.ignoreOnWindows "DRep Activity" Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity.hprop_check_drep_activity - , H.ignoreOnWindows "DRep Deposits" Cardano.Testnet.Test.Gov.DRepDeposits.hprop_ledger_events_drep_deposits - -- FIXME Those tests are flaky - -- , H.ignoreOnWindows "InfoAction" LedgerEvents.hprop_ledger_events_info_action - , H.ignoreOnWindows "ProposeNewConstitutionSPO" LedgerEvents.hprop_ledger_events_propose_new_constitution_spo - , H.ignoreOnWindows "TreasuryWithdrawal" LedgerEvents.hprop_ledger_events_treasury_withdrawal - , H.ignoreOnWindows "DRepRetirement" DRepRetirement.hprop_drep_retirement + [ T.testGroup "Governance" + [ H.ignoreOnWindows "DRep Activity" Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity.hprop_check_drep_activity + -- , H.ignoreOnMacAndWindows "ProposeAndRatifyNewConstitution" Cardano.Testnet.Test.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution + -- , H.ignoreOnWindows "DRep Deposits" Cardano.Testnet.Test.Gov.DRepDeposits.hprop_ledger_events_drep_deposits + -- -- FIXME Those tests are flaky + -- -- , H.ignoreOnWindows "InfoAction" LedgerEvents.hprop_ledger_events_info_action + -- , H.ignoreOnWindows "ProposeNewConstitutionSPO" LedgerEvents.hprop_ledger_events_propose_new_constitution_spo + -- , H.ignoreOnWindows "TreasuryWithdrawal" LedgerEvents.hprop_ledger_events_treasury_withdrawal + -- , H.ignoreOnWindows "DRepRetirement" DRepRetirement.hprop_drep_retirement ] - , T.testGroup "Plutus" - [ H.ignoreOnWindows "PlutusV3" Cardano.Testnet.Test.Cli.Conway.Plutus.hprop_plutus_v3] - ] - , T.testGroup "CLI" - [ H.ignoreOnWindows "Shutdown" Cardano.Testnet.Test.Node.Shutdown.hprop_shutdown - -- ShutdownOnSigint fails on Mac with - -- "Log file: /private/tmp/tmp.JqcjW7sLKS/kes-period-info-2-test-30c2d0d8eb042a37/logs/test-spo.stdout.log had no logs indicating the relevant node has minted blocks." - , H.ignoreOnMacAndWindows "ShutdownOnSigint" Cardano.Testnet.Test.Node.Shutdown.hprop_shutdownOnSigint - -- ShutdownOnSlotSynced FAILS Still. The node times out and it seems the "shutdown-on-slot-synced" flag does nothing - -- , H.ignoreOnWindows "ShutdownOnSlotSynced" Cardano.Testnet.Test.Node.Shutdown.hprop_shutdownOnSlotSynced - , T.testGroup "Babbage" - [ H.ignoreOnMacAndWindows "leadership-schedule" Cardano.Testnet.Test.Cli.Babbage.LeadershipSchedule.hprop_leadershipSchedule -- FAILS - , H.ignoreOnWindows "stake-snapshot" Cardano.Testnet.Test.Cli.Babbage.StakeSnapshot.hprop_stakeSnapshot - , H.ignoreOnWindows "transaction" Cardano.Testnet.Test.Cli.Babbage.Transaction.hprop_transaction - ] - -- TODO: Conway - Re-enable when create-staked is working in conway again - --, T.testGroup "Conway" - -- [ H.ignoreOnWindows "stake-snapshot" Cardano.Testnet.Test.Cli.Conway.StakeSnapshot.hprop_stakeSnapshot - -- ] - -- Ignored on Windows due to : commitBuffer: invalid argument (invalid character) - -- as a result of the kes-period-info output to stdout. - , H.ignoreOnWindows "kes-period-info" Cardano.Testnet.Test.Cli.KesPeriodInfo.hprop_kes_period_info - , H.ignoreOnWindows "query-slot-number" Cardano.Testnet.Test.Cli.QuerySlotNumber.hprop_querySlotNumber - , H.ignoreOnWindows "foldBlocks receives ledger state" Cardano.Testnet.Test.FoldBlocks.prop_foldBlocks - , H.ignoreOnWindows "CliQueries" Cardano.Testnet.Test.Cli.Queries.hprop_cli_queries - ] - ] - , T.testGroup "SubmitApi" - [ T.testGroup "Babbage" - [ H.ignoreOnWindows "transaction" Cardano.Testnet.Test.SubmitApi.Babbage.Transaction.hprop_transaction + -- , H.ignoreOnWindows "Treasury Growth" LedgerEvents.prop_check_if_treasury_is_growing + -- -- TODO: Replace foldBlocks with checkLedgerStateCondition + -- , H.ignoreOnWindows "Sanity Check" LedgerEvents.hprop_ledger_events_sanity_check + -- , T.testGroup "Plutus" + -- [ H.ignoreOnWindows "PlutusV3" Cardano.Testnet.Test.Cli.Conway.Plutus.hprop_plutus_v3] ] + -- , T.testGroup "CLI" + -- [ H.ignoreOnWindows "Shutdown" Cardano.Testnet.Test.Node.Shutdown.hprop_shutdown + -- -- ShutdownOnSigint fails on Mac with + -- -- "Log file: /private/tmp/tmp.JqcjW7sLKS/kes-period-info-2-test-30c2d0d8eb042a37/logs/test-spo.stdout.log had no logs indicating the relevant node has minted blocks." + -- , H.ignoreOnMacAndWindows "ShutdownOnSigint" Cardano.Testnet.Test.Node.Shutdown.hprop_shutdownOnSigint + -- -- ShutdownOnSlotSynced FAILS Still. The node times out and it seems the "shutdown-on-slot-synced" flag does nothing + -- -- , H.ignoreOnWindows "ShutdownOnSlotSynced" Cardano.Testnet.Test.Node.Shutdown.hprop_shutdownOnSlotSynced + -- , T.testGroup "Babbage" + -- [ H.ignoreOnMacAndWindows "leadership-schedule" Cardano.Testnet.Test.Cli.Babbage.LeadershipSchedule.hprop_leadershipSchedule -- FAILS + -- , H.ignoreOnWindows "stake-snapshot" Cardano.Testnet.Test.Cli.Babbage.StakeSnapshot.hprop_stakeSnapshot + -- , H.ignoreOnWindows "transaction" Cardano.Testnet.Test.Cli.Babbage.Transaction.hprop_transaction + -- ] + -- -- TODO: Conway - Re-enable when create-staked is working in conway again + -- --, T.testGroup "Conway" + -- -- [ H.ignoreOnWindows "stake-snapshot" Cardano.Testnet.Test.Cli.Conway.StakeSnapshot.hprop_stakeSnapshot + -- -- ] + -- -- Ignored on Windows due to : commitBuffer: invalid argument (invalid character) + -- -- as a result of the kes-period-info output to stdout. + -- , H.ignoreOnWindows "kes-period-info" Cardano.Testnet.Test.Cli.KesPeriodInfo.hprop_kes_period_info + -- , H.ignoreOnWindows "query-slot-number" Cardano.Testnet.Test.Cli.QuerySlotNumber.hprop_querySlotNumber + -- , H.ignoreOnWindows "foldBlocks receives ledger state" Cardano.Testnet.Test.FoldBlocks.prop_foldBlocks + -- , H.ignoreOnWindows "CliQueries" Cardano.Testnet.Test.Cli.Queries.hprop_cli_queries + -- ] ] + -- , T.testGroup "SubmitApi" + -- [ T.testGroup "Babbage" + -- [ H.ignoreOnWindows "transaction" Cardano.Testnet.Test.SubmitApi.Babbage.Transaction.hprop_transaction + -- ] + -- ] ] defaultMainWithIngredientsAndOptions :: [T.Ingredient] -> T.OptionSet -> T.TestTree -> IO ()