Fix mongos_does_not_gossip_logical_time_without_keys.js test to more reliably disable key generation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-07-10, Sharding 2017-07-31
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The key generation mongos_does_not_gossip_logical_time_without_keys.js is disabled only on primary
      https://github.com/mongodb/mongo/blob/master/jstests/sharding/mongos_does_not_gossip_logical_time_without_keys.js#L37-L38
      the logs show that sometimes the secondary becomes the primary and generates the keys when test is being shut down.
      Need to also disable key generation on secondary

              Assignee:
              Misha Tyulenev (Inactive)
              Reporter:
              Misha Tyulenev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: