You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DATAMONGO-1504 - Assert compatibility with MongoDB 3.4.
We now make sure to comply to the API requirements of mongo-java-driver 3.4 (in current beta1) by using empty DBObjects instead of null, ignoring non appropriate replication settings and cleaning up tests after execution.
Original pull request: spring-projects#394.
Copy file name to clipboardExpand all lines: spring-data-mongodb-log4j/src/test/java/org/springframework/data/mongodb/log4j/MongoLog4jAppenderIntegrationTests.java
+12-6
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2011-2013 the original author or authors.
2
+
* Copyright 2011-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -22,37 +22,44 @@
22
22
23
23
importorg.apache.log4j.Logger;
24
24
importorg.apache.log4j.MDC;
25
+
importorg.junit.After;
25
26
importorg.junit.Before;
26
27
importorg.junit.Test;
27
28
29
+
importcom.mongodb.BasicDBObject;
28
30
importcom.mongodb.DB;
29
31
importcom.mongodb.DBCursor;
30
-
importcom.mongodb.Mongo;
32
+
importcom.mongodb.MongoClient;
31
33
32
34
/**
33
35
* Integration tests for {@link MongoLog4jAppender}.
0 commit comments