Browse Source

DATAMONGO-2342 - Upgrade MongoDB java & reactive streams Driver to 3.11 and 1.12.

Original pull request: #778.
pull/781/head
Christoph Strobl 6 years ago committed by Mark Paluch
parent
commit
73fab14b21
  1. 4
      pom.xml
  2. 1
      spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/ReactiveMongoTemplateIndexTests.java
  3. 1
      spring-data-mongodb/src/test/java/org/springframework/data/mongodb/test/util/MongoTestUtils.java

4
pom.xml

@ -27,8 +27,8 @@ @@ -27,8 +27,8 @@
<project.type>multi</project.type>
<dist.id>spring-data-mongodb</dist.id>
<springdata.commons>2.2.0.BUILD-SNAPSHOT</springdata.commons>
<mongo>3.11.0-rc0</mongo>
<mongo.reactivestreams>1.12.0-rc0</mongo.reactivestreams>
<mongo>3.11.0</mongo>
<mongo.reactivestreams>1.12.0</mongo.reactivestreams>
<jmh.version>1.19</jmh.version>
</properties>

1
spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/ReactiveMongoTemplateIndexTests.java

@ -32,7 +32,6 @@ import org.junit.After; @@ -32,7 +32,6 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.data.annotation.Id;

1
spring-data-mongodb/src/test/java/org/springframework/data/mongodb/test/util/MongoTestUtils.java

@ -118,6 +118,7 @@ public class MongoTestUtils { @@ -118,6 +118,7 @@ public class MongoTestUtils {
.withWriteConcern(WriteConcern.MAJORITY).withReadPreference(ReadPreference.primary());
Mono.from(database.getCollection(collectionName).drop()) //
.retryBackoff(3, Duration.ofMillis(250)) //
.as(StepVerifier::create) //
.expectNext(Success.SUCCESS) //
.verifyComplete();

Loading…
Cancel
Save