Skip to content

Commit 213f4d4

Browse files
committed
Fix indexes
1 parent 71ca92e commit 213f4d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cardano-chain-gen/test/Test/Cardano/Db/Mock/Unit/Babbage/CommandLineArg/ForceIndex.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ checkForceIndexesArg =
1919
withCustomConfig commandLineForceIndexArgs babbageConfigDir testLabel $ \_ _ dbSyncEnv -> do
2020
startDBSync dbSyncEnv
2121
threadDelay 3_000_000
22-
assertEqQuery dbSyncEnv DB.queryPgIndexesCount 163 "there wasn't the correct number of indexes"
22+
assertEqQuery dbSyncEnv DB.queryPgIndexesCount 165 "there wasn't the correct number of indexes"
2323
where
2424
testLabel = "CLAcheckForceIndexesArg"
2525
commandLineForceIndexArgs =
@@ -32,7 +32,7 @@ checkNoForceIndexesArg =
3232
withCustomConfigAndDropDB commandLineNoForceIndexArgs babbageConfigDir testLabel $ \_ _ dbSyncEnv -> do
3333
startDBSync dbSyncEnv
3434
threadDelay 3_000_000
35-
assertEqQuery dbSyncEnv DB.queryPgIndexesCount 98 "there wasn't the correct number of indexes"
35+
assertEqQuery dbSyncEnv DB.queryPgIndexesCount 100 "there wasn't the correct number of indexes"
3636
where
3737
testLabel = "CLAcheckNoForceIndexesArg"
3838
commandLineNoForceIndexArgs =

cardano-chain-gen/test/Test/Cardano/Db/Mock/Unit/Conway/CommandLineArg/ForceIndex.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ checkForceIndexesArg =
1717
startDBSync dbSync
1818

1919
-- Verify number of DB indexes
20-
assertEqQuery dbSync DB.queryPgIndexesCount 163 "unexpected number of indexes"
20+
assertEqQuery dbSync DB.queryPgIndexesCount 165 "unexpected number of indexes"
2121
where
2222
cliArgs = initCommandLineArgs {claForceIndexes = True}
2323
testLabel = "conwayCLACheckForceIndexesArg"
@@ -28,7 +28,7 @@ checkNoForceIndexesArg =
2828
startDBSync dbSync
2929

3030
-- Verify number of DB indexes
31-
assertEqQuery dbSync DB.queryPgIndexesCount 98 "unexpected number of indexes"
31+
assertEqQuery dbSync DB.queryPgIndexesCount 100 "unexpected number of indexes"
3232
where
3333
cliArgs = initCommandLineArgs {claForceIndexes = False}
3434
testLabel = "conwayCLACheckNoForceIndexesArg"

0 commit comments

Comments
 (0)