Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6125

Flaky: x509_Authentication_when_a_valid_cert_is_provided_but_the_certificate_does_not_correspond_to_a_user.fails_to_authenticate [2]

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      [2024/04/22 15:37:47.211] FAILURE:  (AssertionError)
      [2024/04/22 15:37:47.211] AssertionError: expected MongoClient{ domain: null, _events: {}, _eventsCount: +0, _maxListeners: undefined, mongoLogger: undefined, s: { url: 'mongodb://localhost:27017,localhost:27018/', bsonOptions: { raw: false, useBigInt64: false, promoteLongs: true, promoteValues: true, promoteBuffers: false, ignoreUndefined: false, bsonRegExp: false, serializeFunctions: false, fieldsAsRaw: {}, enableUtf8Validation: true }, namespace: MongoDBNamespace{ db: 'admin', collection: undefined }, hasBeenClosed: false, sessionPool: ServerSessionPool{ client: MongoClient[Circular], sessions: List{ count: +0, head: { next: [Circular], prev: [Circular], value: null } } }, activeSessions: Set{}, authProviders: MongoClientAuthProviders{ existingProviders: Map{} }, options: { hosts: [ new HostAddress('localhost:27017'), new HostAddress('localhost:27018') ], credentials: MongoCredentials{ username: '', password: '', source: '$external', mechanism: 'MONGODB-X509', .... } to be an instance of MongoServerError
      [2024/04/22 15:37:47.211]  at Context.<anonymous (test/manual/x509_auth.test.ts:64:29)
      [2024/04/22 15:37:47.211]  at processTicksAndRejections (node:internal/process/task_queues:95:5)[2024/04/22 15:37:47.211] system-out:[2024/04/22 15:37:47.211] none[2024/04/22 15:37:47.211] system-err:[2024/04/22 15:37:47.211] none 

            Assignee:
            Unassigned Unassigned
            Reporter:
            aditi.khare@mongodb.com Aditi Khare
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: