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

Connection timeouts should throw ConnectionTimeoutException, and not RuntimeException

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

      The test case "10gen-labs/mongo-hhvm-driver-prototype/tests/MongoDBDriverManager-noconnection-error-001.phpt" expects a "MongoDB\Driver\Exception\ConnectionTimeoutException" to be thrown, but phongo instead just throws an RuntimeException (from SPL).

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: