Reduce serverSelectionTimeoutMS for tests on MongoDB
@@ -37,7 +37,8 @@ public class MongoUtils {
System.getProperty("mongo.db", "MongoMKDB");
public static final String URL =
- System.getProperty("mongo.url", "mongodb://" + HOST + ":" + PORT + "/" + DB + "?connectTimeoutMS=3000");
+ System.getProperty("mongo.url", "mongodb://" + HOST + ":" + PORT + "/" + DB +
+ "?connectTimeoutMS=3000&serverSelectionTimeoutMS=3000");
protected static Exception exception;
