From 59b6091f061803e2ffd2708ee9d056378832c6d8 Mon Sep 17 00:00:00 2001 From: mikereiche Date: Mon, 12 Oct 2020 13:49:42 -0700 Subject: [PATCH] DATACOUCH-595 - Add cas to replace options if present on entity. --- .../core/CouchbaseTemplateKeyValueIntegrationTests.java | 1 + src/test/resources/integration.properties | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/springframework/data/couchbase/core/CouchbaseTemplateKeyValueIntegrationTests.java b/src/test/java/org/springframework/data/couchbase/core/CouchbaseTemplateKeyValueIntegrationTests.java index 2d0e9723..11e6180d 100644 --- a/src/test/java/org/springframework/data/couchbase/core/CouchbaseTemplateKeyValueIntegrationTests.java +++ b/src/test/java/org/springframework/data/couchbase/core/CouchbaseTemplateKeyValueIntegrationTests.java @@ -32,6 +32,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; +import org.springframework.dao.DataRetrievalFailureException; import org.springframework.dao.DataIntegrityViolationException;; import org.springframework.dao.DuplicateKeyException; import org.springframework.data.couchbase.CouchbaseClientFactory; diff --git a/src/test/resources/integration.properties b/src/test/resources/integration.properties index 6c7dcac1..4a07e730 100644 --- a/src/test/resources/integration.properties +++ b/src/test/resources/integration.properties @@ -2,7 +2,7 @@ # If set to false, it is assumed that the host is managing the cluster and # as a result no containers or anything will be spun up. # Options: containerized, mocked, unmanaged -cluster.type=mocked +cluster.type=unmanaged # Default configs for both cases cluster.adminUsername=Administrator cluster.adminPassword=password @@ -12,4 +12,4 @@ cluster.mocked.numReplicas=1 # Entry point configuration if not managed # value of hostname and ns_server port cluster.unmanaged.seed=127.0.0.1:8091 -cluster.unmanaged.numReplicas=0 \ No newline at end of file +cluster.unmanaged.numReplicas=0