Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1414

Skip tests when mongo orchestration is not available

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0, 1.6.0alpha3
    • Labels:
      None

      Description

      Andreas Braun caught the following two failures attempting to run the test suite against a local 4.0.3 standalone mongod:

      MongoDB\Driver\Cursor query result iteration with getmore failure [tests/cursor/cursor-getmore-007.phpt]
      MongoDB\Driver\Cursor command result iteration with getmore failure [tests/cursor/cursor-getmore-008.phpt]
      

      Both of these tests failed because mongo orchestration was not accessible. I'll also note that the 005 and 006 tests also depend on mongo orchestration, but happened to be skipped due to his server version.

      We should add a skip function to all four of these tests to avoid failures when MO is not running.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: