Skip to content

Commit

Permalink
Remove LedgerEvents from cardano-testnet directory namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed May 6, 2024
1 parent fd62c7a commit 7334a6e
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions cardano-testnet/cardano-testnet.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ test-suite cardano-testnet-test
other-modules: Cardano.Testnet.Test.Cli.Babbage.LeadershipSchedule
Cardano.Testnet.Test.Cli.Babbage.StakeSnapshot
Cardano.Testnet.Test.Cli.Babbage.Transaction
Cardano.Testnet.Test.LedgerEvents.Gov.DRepRetirement
Cardano.Testnet.Test.Cli.Conway.Plutus
Cardano.Testnet.Test.Cli.Conway.StakeSnapshot
Cardano.Testnet.Test.Cli.KesPeriodInfo
Expand All @@ -188,14 +187,15 @@ test-suite cardano-testnet-test
Cardano.Testnet.Test.FoldBlocks
Cardano.Testnet.Test.Misc

Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits
Cardano.Testnet.Test.LedgerEvents.Gov.InfoAction
Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution
Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO
Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal
Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity
Cardano.Testnet.Test.LedgerEvents.SanityCheck
Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth
Cardano.Testnet.Test.Gov.DRepDeposits
Cardano.Testnet.Test.Gov.DRepRetirement
Cardano.Testnet.Test.Gov.InfoAction
Cardano.Testnet.Test.Gov.ProposeNewConstitution
Cardano.Testnet.Test.Gov.ProposeNewConstitutionSPO
Cardano.Testnet.Test.Gov.TreasuryWithdrawal
Cardano.Testnet.Test.Gov.DRepActivity
Cardano.Testnet.Test.Gov.TreasuryGrowth
Cardano.Testnet.Test.SanityCheck

Cardano.Testnet.Test.Node.Shutdown
Cardano.Testnet.Test.SubmitApi.Babbage.Transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity
module Cardano.Testnet.Test.Gov.DRepActivity
( hprop_check_drep_activity
) where

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE NamedFieldPuns #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits
module Cardano.Testnet.Test.Gov.DRepDeposits
( hprop_ledger_events_drep_deposits
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.DRepRetirement
module Cardano.Testnet.Test.Gov.DRepRetirement
( hprop_drep_retirement
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.InfoAction
module Cardano.Testnet.Test.Gov.InfoAction
( hprop_ledger_events_info_action
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution
module Cardano.Testnet.Test.Gov.ProposeNewConstitution
( hprop_ledger_events_propose_new_constitution
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO
module Cardano.Testnet.Test.Gov.ProposeNewConstitutionSPO
( hprop_ledger_events_propose_new_constitution_spo
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}

module Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth where
module Cardano.Testnet.Test.Gov.TreasuryGrowth where

import Cardano.Api hiding (cardanoEra)
import qualified Cardano.Api as Api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal
module Cardano.Testnet.Test.Gov.TreasuryWithdrawal
( hprop_ledger_events_treasury_withdrawal
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}

module Cardano.Testnet.Test.LedgerEvents.SanityCheck
module Cardano.Testnet.Test.SanityCheck
( hprop_ledger_events_sanity_check
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ 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.LedgerEvents.Gov.DRepDeposits
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.DRepRetirement as DRepRetirement
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO as LedgerEvents
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal as LedgerEvents
import qualified Cardano.Testnet.Test.LedgerEvents.SanityCheck as LedgerEvents
import qualified Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth as LedgerEvents
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
Expand All @@ -47,10 +47,10 @@ tests = do
, 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.LedgerEvents.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution
[ H.ignoreOnMacAndWindows "ProposeAndRatifyNewConstitution" Cardano.Testnet.Test.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution
-- TODO: "DRep Activity" is too flaky at the moment. Disabling until we can fix it.
-- , H.ignoreOnWindows "DRep Activity" Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity.hprop_check_drep_activity
, H.ignoreOnWindows "DRep Deposits" Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits.hprop_ledger_events_drep_deposits
, 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
Expand Down

0 comments on commit 7334a6e

Please sign in to comment.