-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Labels:None
-
Server Development Platform
-
Fully Compatible
-
ALL
-
DAG 2023-10-16, DAG 2023-10-30
I see the following error which running a javascript test:
[js_test:global_index_feature_flagging] d20040| Key Value Option: setParameter has a duplicate key from the same source: featureFlagGlobalIndexes
[js_test:global_index_feature_flagging] d20040| try '/data/mci/218dec7f98e35923596ad6efaf9d63e8/src/dist-test/bin/mongod --help' for more information
My test is setting the featureFalgGlobalIndexes to false but the test is invoked with TestData["setParameters"]["featureFlagGlobalIndexes"] = "true" which causes a key collision and the test fails on seeing a different value than the one used for invocation (https://github.com/10gen/mongo/blob/330458e81f9baa3f936d639dc3edbe1a8c4c5a32/src/mongo/util/options_parser/options_parser.cpp#L838). Is there a config change that needs to be made for the test to run successfully ?