SERVER-138502ClosedFixed

Wait for index build failpoint before renaming in rename_collection_with_in_progress_index_builds.js

The test rename_collection_with_in_progress_index_builds.js starts the rename too early. Its readiness check returns before the server has recorded the index, so the rename never fails fast as the test expects. The rename and the index build then wait for each other until Evergreen stops the task. {{hangIndexBuildOnShard0()}} uses {{IndexBuildTest.waitForIndexBuildToStart()}} to decide the index build has started. That helper polls {{$currentOp}} for a {{createIndexes}} operation, which shard

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-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.