Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3777

Temporary disable WriteError_details_should_expose_writeErrors_errInfo due to the server bug

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.14.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      This test should be temporary disable: https://evergreen.mongodb.com/task_log_raw/dot_net_driver_secure_tests_linux__version~latest_os~ubuntu_1804_topology~sharded_cluster_auth~auth_ssl~ssl_test_netstandard15_patch_44a8a50402fe554d86ecf4cefd9fc5610a85542a_61047e5c850e6135cf130863_21_07_30_22_34_20/0?type=T#L2802

      The issue reason is because the latest sharded server returns double "errInfo" in writeErrors:

      [0]: {index=0}    
      [1]: {code=121}    
      [2]: {codeName=DocumentValidationFailure}    
      [3]: {errmsg=Document failed validation}    
      [4]: {errInfo={ "failingDocumentId" : ObjectId("610497c39a04fbd392aceb0b"), "details" : { "operatorName" : "$type", "specifiedAs" : { "x" : { "$type" : "string" } }, "reason" : "type did not match", "consideredValue" : 1, "consideredType" : "int" } }}    
      [5]: {errInfo={ "failingDocumentId" : ObjectId("610497c39a04fbd392aceb0b"), "details" : { "operatorName" : "$type", "specifiedAs" : { "x" : { "$type" : "string" } }, "reason" : "type did not match", "consideredValue" : 1, "consideredType" : "int" } }}
      

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: