@@ -12,7 +12,7 @@ class MongoConfigSpec extends Specification {
1212 val config = MongoConfig (" config_test" )
1313 config.database must beEqualTo(" config_test" )
1414 val shortDescription =
15- " {hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500 }"
15+ " {hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}"
1616 config.clientSettings.getClusterSettings.getShortDescription must be equalTo shortDescription
1717 config.clientSettings.getApplicationName must be equalTo " simple-mongo-app"
1818 config.clientSettings.getClusterSettings.getHosts.size() must be equalTo 1
@@ -27,7 +27,7 @@ class MongoConfigSpec extends Specification {
2727
2828 config.database must beEqualTo(" config_test" )
2929 val shortDescription =
30- " {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500 }"
30+ " {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}"
3131 config.clientSettings.getClusterSettings.getShortDescription must be equalTo shortDescription
3232 config.clientSettings.getApplicationName must be equalTo " Awesome Application Name"
3333 config.clientSettings.getClusterSettings.getHosts.size() must be equalTo 1
@@ -39,7 +39,7 @@ class MongoConfigSpec extends Specification {
3939 val config = MongoConfig .fromPath(" config.test.mongo" )
4040 config.database must beEqualTo(" config_path_test" )
4141 val shortDescription =
42- " {hosts=[localhost:270007], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500 }"
42+ " {hosts=[localhost:270007], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}"
4343 config.clientSettings.getClusterSettings.getShortDescription must be equalTo shortDescription
4444 config.clientSettings.getApplicationName must be equalTo " simple-mongo-config-test"
4545 config.clientSettings.getClusterSettings.getHosts.size() must be equalTo 1
@@ -53,7 +53,7 @@ class MongoConfigSpec extends Specification {
5353 val config = MongoConfig .fromPath(" config.test.auth.mongo" )
5454 config.database must beEqualTo(" config_path_test" )
5555 val shortDescription =
56- " {hosts=[localhost:270007], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500 }"
56+ " {hosts=[localhost:270007], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}"
5757 config.clientSettings.getClusterSettings.getShortDescription must be equalTo shortDescription
5858 config.clientSettings.getApplicationName must be equalTo " simple-mongo-config-test-with-auth"
5959 config.clientSettings.getClusterSettings.getHosts.size() must be equalTo 1
0 commit comments