range_deleter_interacts_correctly_with_refine_shard_key.js makes a particular secondary node primary by running replSetStepUp on it, but this can fail if the node happens to be replicating more slowly than a majority of the set. Instead, the test should use ReplSetTest.stepUp() which accounts for this by both waiting for replication before issuing the step up command and retrying on failures.
- is related to
-
SERVER-48198 Migration recovery may recover incorrect decision after shard key refine
- Closed