Skip to content

Commit

Permalink
wording fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed Aug 15, 2024
1 parent 1873743 commit fbacddb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,15 @@ Additionally, see the `mongodb+srv` test `invalid-uris.yml` in the
[Connection String Spec tests](../connection-string/tests).

### Prose Tests
* Test #1: The driver should not throw an error when given a SRV record that only contains the name of the domain and the TLD.
* Test #1: The driver should not throw an error when given a valid SRV record that only contains the name of the domain and the TLD.

* Stub external DNS resolution to always pass (ex: `dns.lookup`).

* Assert that creating a client with the uri `mongodb+srv//mongodb.localhost` does not cause an error.

* Assert that connecting the client to the server does not cause an error.

* Test #2: The driver should not throw an error when given a SRV record that only contains the TLD.
* Test #2: The driver should not throw an error when given a valid SRV record that only contains the TLD.
* Stub external DNS resolution to always pass (ex: `dns.lookup`).

* Assert that creating a client with the uri `mongodb+srv//localhost` does not cause an error.
Expand Down

0 comments on commit fbacddb

Please sign in to comment.