DATAMONGO-1620 - Polishing.

Fix test method name. Add JavaDoc.

Original pull request: #449.
This commit is contained in:
Mark Paluch
2017-03-13 16:10:59 +01:00
parent 4b8d35262f
commit f4f5e02e66
2 changed files with 4 additions and 3 deletions

View File

@@ -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.
*/

View File

@@ -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));