Refactor resharding test waiting state into helper function

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are a lot of places in our resharding tests where we have this pattern of:

      wait for state -> unblock state -> wait for state to get reflected in state doc

      Consider refactoring them to make it more concise.

       

      https://github.com/10gen/mongo/blob/4b11c6f56f922317d6d78404b6b7200e4802381d/src/mongo/db/s/resharding/resharding_coordinator_service_test.cpp#L1737

            Assignee:
            Unassigned
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: