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