[DRIVERS-2061] Invalid auth mechanism test Created: 13/Aug/19  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: Authentication
Fix Version/s: None

Type: Spec Change Priority: Minor - P4
Reporter: Oleg Pudeyev (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to RUBY-1745 Invalid auth mechanism is not reporte... Closed
related to RUBY-1258 Implement auth spec tests Closed
Driver Changes: Needed

 Description   

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).


Generated at Thu Feb 08 08:24:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.