Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69476

Key collision with different value causes test failure

    • 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 ?

            Assignee:
            mikhail.shchatko@mongodb.com Mikhail Shchatko
            Reporter:
            nandini.bhartiya@mongodb.com Nandini Bhartiya
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: