Skip to content

Commit

Permalink
Add minimal StateMachine test for ImmutableDB.Index
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Aug 27, 2024
1 parent a3e191c commit 3c07044
Show file tree
Hide file tree
Showing 3 changed files with 374 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ouroboros-consensus/ouroboros-consensus.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ test-suite storage-test
Test.Ouroboros.Storage.ImmutableDB.Model
Test.Ouroboros.Storage.ImmutableDB.Primary
Test.Ouroboros.Storage.ImmutableDB.StateMachine
Test.Ouroboros.Storage.ImmutableDB.Index.StateMachine
Test.Ouroboros.Storage.LedgerDB
Test.Ouroboros.Storage.LedgerDB.DiskPolicy
Test.Ouroboros.Storage.LedgerDB.InMemory
Expand All @@ -647,6 +648,7 @@ test-suite storage-test
binary,
bytestring,
cardano-crypto-class,
cardano-strict-containers,
cardano-slotting:{cardano-slotting, testlib},
cborg,
containers,
Expand All @@ -667,6 +669,7 @@ test-suite storage-test
random,
serialise,
tasty,
temporary,
tasty-hunit,
tasty-quickcheck,
text,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module Test.Ouroboros.Storage.ImmutableDB (tests) where

import qualified Test.Ouroboros.Storage.ImmutableDB.Primary as Primary
import qualified Test.Ouroboros.Storage.ImmutableDB.StateMachine as StateMachine
import qualified Test.Ouroboros.Storage.ImmutableDB.Index.StateMachine as Index.StateMachine
import Test.Tasty (TestTree, testGroup)

{------------------------------------------------------------------------------
Expand All @@ -28,4 +29,5 @@ tests :: TestTree
tests = testGroup "ImmutableDB" [
Primary.tests
, StateMachine.tests
, Index.StateMachine.tests
]
Loading

0 comments on commit 3c07044

Please sign in to comment.