DATAMONGO-1620 - Polishing.
Fix test method name. Add JavaDoc. Original pull request: #449.
This commit is contained in:
@@ -254,7 +254,8 @@ public class MongoClientOptionsFactoryBean extends AbstractFactoryBean<MongoClie
|
||||
|
||||
/**
|
||||
* Set the {@literal server selection timeout} in msec for a 3.x MongoDB Java driver. If not set the default value of
|
||||
* 30 sec will be used.
|
||||
* 30 sec will be used. A value of 0 means that it will timeout immediately if no server is available. A negative
|
||||
* value means to wait indefinitely.
|
||||
*
|
||||
* @param serverSelectionTimeout in msec.
|
||||
*/
|
||||
|
||||
@@ -38,7 +38,7 @@ import com.mongodb.WriteConcern;
|
||||
|
||||
/**
|
||||
* Integration tests for {@link MongoClientParser}.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @author Mark Paluch
|
||||
*/
|
||||
@@ -118,7 +118,7 @@ public class MongoClientParserIntegrationTests {
|
||||
}
|
||||
|
||||
@Test // DATAMONGO-1620
|
||||
public void createsMongoClinetWithServerSelectionTimeoutCorrectly() {
|
||||
public void createsMongoClientWithServerSelectionTimeoutCorrectly() {
|
||||
|
||||
assumeThat(MongoClientVersion.isMongo3Driver(), is(true));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user