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

Confirm whether getMore fail point tests actually run

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      cursor-getmore-005.phpt through cursor-getmore-008.phpt include both skip_if_no_getmore_failpoint and skip_if_server_version(">=", "3.6") in its SKIPIF section.

      The skips were both added in mongodb/mongo-php-driver#913 for PHPC-1179. They appear to conflict with each other, as skip_if_no_getmore_failpoint requires the server version be <3.2 or >=4.0 (see: failGetMore() in tools.php for more details).

      If these tests are always being skipped, we should either remove them or rewrite them to be more portable.

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

              Created:
              Updated: