SERVER-137133ClosedFixed

wait for resharding cleanup and replication before comparing magic restore dbhashes

This is the same fix as [SERVER-132602|https://github.com/10gen/mongo/pull/60026/changes#top] for remaining magic restore jstests.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10259.0.7
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.