isClientError check in unified test runner should unwrap BulkWriteExceptions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 1.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per PHPC-1960, not all BulkWriteExceptions are server-side errors despite the class inheriting ServerException. The unified test runner should check whether BulkWriteException is proxying a previous exception before evaluating code, codeName, and isClientError checks in MongoDB\Tests\UnifiedSpecTests\ExpectedError::assert().

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: