|
|
|
@ -19,7 +19,6 @@ package org.springframework.boot.test.autoconfigure.data.couchbase;
|
|
|
|
|
import java.time.Duration;
|
|
|
|
|
|
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
import org.junit.jupiter.api.condition.OS;
|
|
|
|
|
import org.testcontainers.couchbase.BucketDefinition;
|
|
|
|
|
import org.testcontainers.couchbase.CouchbaseContainer;
|
|
|
|
|
import org.testcontainers.junit.jupiter.Container;
|
|
|
|
@ -27,7 +26,6 @@ import org.testcontainers.junit.jupiter.Testcontainers;
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.boot.testsupport.junit.DisabledOnOs;
|
|
|
|
|
import org.springframework.boot.testsupport.testcontainers.DockerImageNames;
|
|
|
|
|
import org.springframework.context.ApplicationContext;
|
|
|
|
|
import org.springframework.data.couchbase.core.CouchbaseTemplate;
|
|
|
|
@ -44,8 +42,6 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
|
|
|
|
*/
|
|
|
|
|
@DataCouchbaseTest
|
|
|
|
|
@Testcontainers(disabledWithoutDocker = true)
|
|
|
|
|
@DisabledOnOs(os = { OS.LINUX, OS.MAC }, architecture = "aarch64",
|
|
|
|
|
disabledReason = "The Couchbase image has no ARM support")
|
|
|
|
|
class DataCouchbaseTestIntegrationTests {
|
|
|
|
|
|
|
|
|
|
private static final String BUCKET_NAME = "cbbucket";
|
|
|
|
|