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

Skip tests when mongo orchestration is not available

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.6.0alpha3, 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: