diff --git a/pom.xml b/pom.xml index 63ce51c9a..727769853 100644 --- a/pom.xml +++ b/pom.xml @@ -18,8 +18,8 @@ - 3.4.5 - 3.4.5 + 3.4.6 + 3.4.6 3.1.0-SNAPSHOT spring.data.couchbase 7.0.1.Final diff --git a/src/test/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplateKeyValueIntegrationTests.java b/src/test/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplateKeyValueIntegrationTests.java index e1aa3e349..4174e9fc0 100644 --- a/src/test/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplateKeyValueIntegrationTests.java +++ b/src/test/java/org/springframework/data/couchbase/core/ReactiveCouchbaseTemplateKeyValueIntegrationTests.java @@ -120,7 +120,7 @@ void findByIdWithLock() { reactiveCouchbaseTemplate.upsertById(User.class).one(user).block(); - User foundUser = reactiveCouchbaseTemplate.findById(User.class).withLock(Duration.ofSeconds(2)) + User foundUser = reactiveCouchbaseTemplate.findById(User.class).withLock(Duration.ofSeconds(4)) .one(user.getId()).block(); user.setVersion(foundUser.getVersion());// version will have changed assertEquals(user, foundUser); @@ -130,7 +130,7 @@ void findByIdWithLock() { ); assertTrue(exception.retryReasons().contains(RetryReason.KV_LOCKED), "should have been locked"); } finally { - sleepSecs(2); + sleepSecs(5); reactiveCouchbaseTemplate.removeByQuery(User.class).withConsistency(REQUEST_PLUS).all().collectList().block(); }