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

Test that server selection throws ConnectionTimeoutException

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 0.6.3
    • Component/s: None
    • Labels:
      None

      Currently, when we hit ?serverselectiontimeoutms=10 a generic RuntimeException is thrown.

      This should probably be ConnectionException or something.
      It may also not exist in the future, depending on PHPC-252 ...

      In any case, the manager-set-uri-options-002.php test needs to be updated to change the Exception expectations.

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: