forked from mongodb/specifications
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRIVERS-2769 Clarify not validating saslSupportedMechs (mongodb#1565)
- Loading branch information
1 parent
fe86082
commit b1e0274
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# MongoDB Handshake Tests | ||
|
||
## Prose Tests | ||
|
||
### Test that the driver accepts an arbitrary auth mechanism | ||
|
||
1. Mock the server response in a way that `saslSupportedMechs` array in the `hello` command response contains an | ||
arbitrary string. | ||
|
||
2. Create and connect a `Connection` object that connects to the server that returns the mocked response. | ||
|
||
3. Assert that no error is raised. |