DATAMONGO-2342 - Upgrade MongoDB java & reactive streams Driver to 3.11 and 1.12.
Original pull request: #778.
This commit is contained in:
committed by
Mark Paluch
parent
d4505880c7
commit
73fab14b21
4
pom.xml
4
pom.xml
@@ -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>
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user