Skip to content

Commit 5e4bf3a

Browse files
committed
Bump Couchbase SDK to 3.9.0
Closes #2076.
1 parent c12acf6 commit 5e4bf3a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</parent>
1919

2020
<properties>
21-
<couchbase>3.8.2</couchbase>
21+
<couchbase>3.9.0</couchbase>
2222
<springdata.commons>4.0.0-SNAPSHOT</springdata.commons>
2323
<java-module-name>spring.data.couchbase</java-module-name>
2424
<hibernate.validator>7.0.1.Final</hibernate.validator>

src/test/java/org/springframework/data/couchbase/core/CouchbaseTemplateQueryCollectionIntegrationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,8 @@ public void findFromReplicasByIdOptions() { // 5
713713
Airport found = couchbaseTemplate.findFromReplicasById(Airport.class).inScope(otherScope)
714714
.inCollection(otherCollection).withOptions(options).any(saved.getId());
715715
assertNull(found, "should not have found document in short timeout");
716+
}catch (UnambiguousTimeoutException e) {
717+
/* waitForBucketConfig() may have timed-out */
716718
} finally {
717719
couchbaseTemplate.removeById().inScope(otherScope).inCollection(otherCollection).one(saved.getId());
718720
}

src/test/java/org/springframework/data/couchbase/core/query/ReactiveCouchbaseTemplateQueryCollectionIntegrationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,8 @@ public void findFromReplicasByIdOptions() { // 5
708708
Airport found = template.findFromReplicasById(Airport.class).inScope(otherScope).inCollection(otherCollection)
709709
.withOptions(options).any(saved.getId()).block();
710710
assertNull(found, "should not have found document in short timeout");
711+
}catch (UnambiguousTimeoutException e) {
712+
/* waitForBucketConfig() may have timed-out */
711713
} finally {
712714
template.removeById().inScope(otherScope).inCollection(otherCollection).one(saved.getId()).block();
713715
}

0 commit comments

Comments
 (0)