The current version of tenant_migration_concurrent_writes_on_donor.js takes a very long time to run resulting in the evergreen patch to timeout.
There is already
SERVER-66027 to help reduce the runtime.
However the logic of this test can also be improved by executing all the test case per tenant migration while blocking the tenant migration, checking the tenant access blockers for each test case while the migration is blocked and finish the migration once all the tenant access blockers for each test case have been tested.
This is to simplify the amount of time we create a tenant migration operation which are currently created per test case * per command to be tested.
- is depended on by
SERVER-66365 Copy missing applicable JSTests after tenant migration test refactoring