Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1044

Explain tests fail when explaining aggregate on MongoDB latest

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.16.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The testAggregate method in ExplainTest fails on MongoDB latest, due to the stages key no longer be present:

      [2022/11/21 11:43:31.509] MongoDB\Tests\Operation\ExplainFunctionalTest::testAggregate
      [2022/11/21 11:43:31.509] Failed asserting that an array has the key 'stages'.
      [2022/11/21 11:43:31.509] /data/mci/46150db3ed42b9c246470f2da212d713/src/tests/Operation/ExplainFunctionalTest.php:409
      [2022/11/21 11:43:31.509] /data/mci/46150db3ed42b9c246470f2da212d713/src/tests/Operation/ExplainFunctionalTest.php:374
      

      This affects sharded clusters and replica sets alike.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: