We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e77c835 commit c255910Copy full SHA for c255910
1 file changed
tests/MongoDB.Driver.Tests/MongoUrlBuilderTests.cs
@@ -700,6 +700,7 @@ public void TestMaxConnecting([Values(0, -1)] int incorrectMaxConnecting)
700
701
[Theory]
702
[InlineData(null, "mongodb://localhost", new[] { "" })]
703
+ [InlineData(0, "mongodb://localhost/?maxIdleTime{0}", new[] { "=0h", "MS=0", "=0ms", "=0" })]
704
[InlineData(500, "mongodb://localhost/?maxIdleTime{0}", new[] { "=500ms", "=0.5", "=0.5s", "=00:00:00.5", "MS=500" })]
705
[InlineData(30000, "mongodb://localhost/?maxIdleTime{0}", new[] { "=30s", "=30000ms", "=30", "=0.5m", "=00:00:30", "MS=30000" })]
706
[InlineData(1800000, "mongodb://localhost/?maxIdleTime{0}", new[] { "=30m", "=1800000ms", "=1800", "=1800s", "=0.5h", "=00:30:00", "MS=1800000" })]
0 commit comments