parent
f8064bf8a7
commit
660b0fad00
|
|
@ -49,6 +49,7 @@ public class MongoPropertiesTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public void allMongoClientOptionsCanBeSet() {
|
public void allMongoClientOptionsCanBeSet() {
|
||||||
MongoClientOptions.Builder builder = MongoClientOptions.builder();
|
MongoClientOptions.Builder builder = MongoClientOptions.builder();
|
||||||
builder.alwaysUseMBeans(true);
|
builder.alwaysUseMBeans(true);
|
||||||
|
|
@ -57,7 +58,7 @@ public class MongoPropertiesTests {
|
||||||
builder.cursorFinalizerEnabled(false);
|
builder.cursorFinalizerEnabled(false);
|
||||||
builder.description("test");
|
builder.description("test");
|
||||||
builder.maxWaitTime(120001);
|
builder.maxWaitTime(120001);
|
||||||
builder.socketKeepAlive(true);
|
builder.socketKeepAlive(false);
|
||||||
builder.socketTimeout(1000);
|
builder.socketTimeout(1000);
|
||||||
builder.threadsAllowedToBlockForConnectionMultiplier(6);
|
builder.threadsAllowedToBlockForConnectionMultiplier(6);
|
||||||
builder.minConnectionsPerHost(0);
|
builder.minConnectionsPerHost(0);
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@
|
||||||
<mssql-jdbc.version>6.2.1.jre8</mssql-jdbc.version>
|
<mssql-jdbc.version>6.2.1.jre8</mssql-jdbc.version>
|
||||||
<mockito.version>2.9.0</mockito.version>
|
<mockito.version>2.9.0</mockito.version>
|
||||||
<mongo-driver-reactivestreams.version>1.5.0</mongo-driver-reactivestreams.version>
|
<mongo-driver-reactivestreams.version>1.5.0</mongo-driver-reactivestreams.version>
|
||||||
<mongodb.version>3.4.3</mongodb.version>
|
<mongodb.version>3.5.0</mongodb.version>
|
||||||
<mysql.version>5.1.44</mysql.version>
|
<mysql.version>5.1.44</mysql.version>
|
||||||
<narayana.version>5.6.4.Final</narayana.version>
|
<narayana.version>5.6.4.Final</narayana.version>
|
||||||
<nekohtml.version>1.9.22</nekohtml.version>
|
<nekohtml.version>1.9.22</nekohtml.version>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue