The ttl_deletes_not_targeting_orphaned_documents.js test verifies that deletes triggered by a TTL index do not affect orphaned documents. The latter are generated by an explicit moveChunk operation with the ranger deleter disabled.
Nevertheless, on particularly slow build variants, the moveChunk operation could be slower than the TTL index timeout (10 seconds), causing the test to fail.
The solution consists of increasing the timeout of the TTL index to minimize the risk of deleting the document before the completion of the moveChunk operation. The effort for the change is negligible.