ensure or enforce that ShardingTest.stop() is called in all tests that start a ShardingTest

XMLWordPrintableJSON

    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The check that UUIDs are consistent across a cluster was placed in ShardingTest.stop() under SERVER-30511.

      It was intended to provide passthrough coverage that UUIDs are always consistent in a cluster, by running at the end of every test that starts a ShardingTest.

      However, only tests that actually call ShardingTest.stop() will perform the check.

      Should we:

      • audit all jstests to ensure they call ShardingTest.stop() if they start a ShardingTest
      • place some kind of lint or compile check to ensure any future tests call ShardingTest.stop() if they start a ShardingTest?

              Assignee:
              DO NOT USE - Backlog - Test Infrastructure Group (TIG)
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: