Write automation test for findAndModify happening while a TenantMigration is in a blocking state

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2021-11-01, Server Serverless 2021-11-15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While working on SERVER-60599 it was decided to test the case of using the findAndModifyCmd which doesn't require server changes in order to get into that state.

      The test case should cover the following :

      • Start a tenant migration and enter a blocking state.
      • While the migration is in a blocking state, run asynchronously findAndModifyCmd
      • When joining the thread that ran the command findAndModifyCmd, make sure the command failed with code "TenantMigrationAborted"

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

              Created:
              Updated:
              Resolved: