Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2061

Invalid auth mechanism test

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: Authentication
    • Needed

      While implementing https://jira.mongodb.org/browse/RUBY-1258, we noticed that there appears to be no test in the auth spec tests for an invalid mechanism. We have previously identified that the Ruby driver would not report an invalid auth mechanism until an operation was attempted (https://jira.mongodb.org/browse/RUBY-1745). Since the auth spec requires the drivers to report auth (credential)-related errors as early as possible, it seems appropriate to also include a test for an invalid auth mechanism in the spec tests. (The existing spec tests check for invalid and missing auth sources for valid mechanisms, but not for invalid mechanisms).

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: