Atlas search index readiness timeout is too short (30s)

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Fixed
    • Priority: Unknown
    • 5.9.0
    • Affects Version/s: None
    • None
    • 1
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      AtlasSearchIndexManagement::waitForSearchIndexesReady() currently waits at most 30 seconds for search indexes to become queryable. On slower Atlas Search deployments (community mongot, cold start, or auto-embedding indexes) the wait exceeds 30 seconds and the test suite fails with:

      RuntimeException: Timed out waiting for search indexes to be ready
        at tests/AtlasSearchIndexManagement.php:40
      

      Fix

      Increase the default timeout to 120 seconds. This matches what the Doctrine ODM test suite uses (maxTimeMs: 120_000) for the same category of test.

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: