Skip to content

Commit a6ec0e4

Browse files
committed
Remove LedgerDB.SnapshotPolicy test
Superseded by the rework of the snapshot policy for predictable snapshots, with dedicated new tests
1 parent a8fa7e2 commit a6ec0e4

File tree

3 files changed

+2
-297
lines changed

3 files changed

+2
-297
lines changed

ouroboros-consensus/ouroboros-consensus.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,6 @@ test-suite storage-test
707707
Test.Ouroboros.Storage.ImmutableDB.StateMachine
708708
Test.Ouroboros.Storage.LedgerDB
709709
Test.Ouroboros.Storage.LedgerDB.Serialisation
710-
Test.Ouroboros.Storage.LedgerDB.SnapshotPolicy
711710
Test.Ouroboros.Storage.LedgerDB.Snapshots
712711
Test.Ouroboros.Storage.LedgerDB.StateMachine
713712
Test.Ouroboros.Storage.LedgerDB.StateMachine.TestBlock
@@ -733,7 +732,7 @@ test-suite storage-test
733732
cardano-binary,
734733
cardano-crypto-class ^>=2.2,
735734
cardano-ledger-binary:testlib,
736-
cardano-ledger-core:{cardano-ledger-core, testlib},
735+
cardano-ledger-core:cardano-ledger-core,
737736
cardano-slotting:{cardano-slotting, testlib},
738737
cardano-strict-containers,
739738
cborg,

ouroboros-consensus/test/storage-test/Test/Ouroboros/Storage/LedgerDB.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
module Test.Ouroboros.Storage.LedgerDB (tests) where
77

88
import qualified Test.Ouroboros.Storage.LedgerDB.Serialisation as Serialisation
9-
import qualified Test.Ouroboros.Storage.LedgerDB.SnapshotPolicy as SnapshotPolicy
109
import qualified Test.Ouroboros.Storage.LedgerDB.Snapshots as Snapshots
1110
import qualified Test.Ouroboros.Storage.LedgerDB.StateMachine as StateMachine
1211
import qualified Test.Ouroboros.Storage.LedgerDB.V1.BackingStore as BackingStore
@@ -23,8 +22,7 @@ tests =
2322
, DbChangelog.tests
2423
]
2524
, -- Independent of the LedgerDB implementation
26-
SnapshotPolicy.tests
27-
, Serialisation.tests
25+
Serialisation.tests
2826
, Snapshots.tests
2927
, -- Tests both V1 and V2
3028
StateMachine.tests

ouroboros-consensus/test/storage-test/Test/Ouroboros/Storage/LedgerDB/SnapshotPolicy.hs

Lines changed: 0 additions & 292 deletions
This file was deleted.

0 commit comments

Comments
 (0)