Skip to content

Commit

Permalink
DRIVERS-1368: Use null when options shouldn't be asserted against (#1687
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alcaeus authored Oct 31, 2024
1 parent 9058491 commit 48bb4ec
Show file tree
Hide file tree
Showing 20 changed files with 214 additions and 214 deletions.
6 changes: 3 additions & 3 deletions source/uri-options/tests/compression-options.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions source/uri-options/tests/compression-options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tests:
hosts: ~
auth: ~
options:
compressors:
compressors:
- "zlib"
zlibCompressionLevel: 9
-
Expand All @@ -28,21 +28,21 @@ tests:
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Too low zlibCompressionLevel causes a warning"
uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=-2"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Too high zlibCompressionLevel causes a warning"
uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=10"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~

6 changes: 3 additions & 3 deletions source/uri-options/tests/concern-options.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions source/uri-options/tests/concern-options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ tests:
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Too low wTimeoutMS causes a warning"
uri: "mongodb://example.com/?wTimeoutMS=-2"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Invalid journal causes a warning"
uri: "mongodb://example.com/?journal=invalid"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~
38 changes: 19 additions & 19 deletions source/uri-options/tests/connection-options.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 48bb4ec

Please sign in to comment.