Skip to content

Commit 584c88e

Browse files
committed
Fix Conway config tests
Remove test for number of indexes
1 parent 5798c2c commit 584c88e

File tree

15 files changed

+6
-93
lines changed

15 files changed

+6
-93
lines changed

cardano-chain-gen/cardano-chain-gen.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ test-suite cardano-chain-gen
141141
Test.Cardano.Db.Mock.Unit.Babbage
142142
Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.ConfigFile
143143
Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.EpochDisabled
144-
Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.ForceIndex
145144
Test.Cardano.Db.Mock.Unit.Babbage.Config.MigrateConsumedPruneTxOut
146145
Test.Cardano.Db.Mock.Unit.Babbage.Config.Parse
147146
Test.Cardano.Db.Mock.Unit.Babbage.InlineAndReference
@@ -155,7 +154,6 @@ test-suite cardano-chain-gen
155154
Test.Cardano.Db.Mock.Unit.Conway
156155
Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.ConfigFile
157156
Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.EpochDisabled
158-
Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.ForceIndex
159157
Test.Cardano.Db.Mock.Unit.Conway.Config.JsonbInSchema
160158
Test.Cardano.Db.Mock.Unit.Conway.Config.Parse
161159
Test.Cardano.Db.Mock.Unit.Conway.Config.MigrateConsumedPruneTxOut

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import Test.Tasty.HUnit (Assertion, testCase)
1313

1414
import qualified Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.ConfigFile as ConfigFile
1515
import qualified Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.EpochDisabled as EpochDisabled
16-
import qualified Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.ForceIndex as ForceIndex
1716
import qualified Test.Cardano.Db.Mock.Unit.Babbage.Config.MigrateConsumedPruneTxOut as MigrateConsumedPruneTxOut
1817
import qualified Test.Cardano.Db.Mock.Unit.Babbage.Config.Parse as Config
1918
import qualified Test.Cardano.Db.Mock.Unit.Babbage.InlineAndReference as BabInlineRef
@@ -70,11 +69,6 @@ unitTests iom knownMigrations =
7069
[ test "Epoch doesn't update when disabled" EpochDisabled.checkEpochDisabledArg
7170
, test "Epoch updates when enabled" EpochDisabled.checkEpochEnabled
7271
]
73-
, testGroup
74-
"force-indexes"
75-
[ test "check force-index adds indexes" ForceIndex.checkForceIndexesArg
76-
, test "check no force-index doesn't add indexes" ForceIndex.checkNoForceIndexesArg
77-
]
7872
]
7973
, testGroup
8074
"rollbacks"

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

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

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Cardano.Mock.ChainSync.Server (IOManager ())
44
import Cardano.Prelude
55
import qualified Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.ConfigFile as ConfigFile
66
import qualified Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.EpochDisabled as EpochDisabled
7-
import qualified Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.ForceIndex as ForceIndex
87
import qualified Test.Cardano.Db.Mock.Unit.Conway.Config.JsonbInSchema as Config
98
import qualified Test.Cardano.Db.Mock.Unit.Conway.Config.MigrateConsumedPruneTxOut as MigrateConsumedPruneTxOut
109
import qualified Test.Cardano.Db.Mock.Unit.Conway.Config.Parse as Config
@@ -87,11 +86,6 @@ unitTests iom knownMigrations =
8786
[ test "Epoch doesn't update when disabled" EpochDisabled.checkEpochDisabledArg
8887
, test "Epoch updates when enabled" EpochDisabled.checkEpochEnabled
8988
]
90-
, testGroup
91-
"force-indexes"
92-
[ test "check force-index adds indexes" ForceIndex.checkForceIndexesArg
93-
, test "check no force-index doesn't add indexes" ForceIndex.checkNoForceIndexesArg
94-
]
9589
]
9690
, testGroup
9791
"rollbacks"

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

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

cardano-chain-gen/test/testfiles/config-conway-hf-epoch1/test-db-sync-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"EnableLogMetrics": false,
33
"EnableLogging": true,
4+
"EnableFutureGenesis" : true,
45
"NetworkName": "testing",
56
"NodeConfigFile": "test-config.json",
67
"PrometheusPort": 8080,

cardano-chain-gen/test/testfiles/config-conway-missing-genesis/test-db-sync-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"EnableLogMetrics": false,
33
"EnableLogging": true,
4+
"EnableFutureGenesis" : true,
45
"NetworkName": "testing",
56
"NodeConfigFile": "test-config.json",
67
"PrometheusPort": 8080,

cardano-chain-gen/test/testfiles/config-conway-no-pools/test-db-sync-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"EnableLogMetrics": false,
33
"EnableLogging": true,
4+
"EnableFutureGenesis" : true,
45
"NetworkName": "testing",
56
"NodeConfigFile": "test-config.json",
67
"PrometheusPort": 8080,

cardano-chain-gen/test/testfiles/config-conway-no-stakes/test-db-sync-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"EnableLogMetrics": false,
33
"EnableLogging": true,
4+
"EnableFutureGenesis" : true,
45
"NetworkName": "testing",
56
"NodeConfigFile": "test-config.json",
67
"PrometheusPort": 8080,

cardano-chain-gen/test/testfiles/config-conway/test-db-sync-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"EnableLogMetrics": false,
33
"EnableLogging": true,
4+
"EnableFutureGenesis" : true,
45
"NetworkName": "testing",
56
"NodeConfigFile": "test-config.json",
67
"PrometheusPort": 8080,

0 commit comments

Comments
 (0)