From 426d3e6173a7b267513d94deb765e3534c48e296 Mon Sep 17 00:00:00 2001 From: Russ Poetker Date: Wed, 21 Feb 2024 09:51:28 -0500 Subject: [PATCH] Disable spring cloud aws s3 in tests by default --- .../pass/deposit/config/spring/RepositoriesConfigS3IT.java | 1 + .../deposit-core/src/test/resources/test-application.properties | 1 + 2 files changed, 2 insertions(+) diff --git a/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/config/spring/RepositoriesConfigS3IT.java b/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/config/spring/RepositoriesConfigS3IT.java index 2c462462..caa4e7dd 100644 --- a/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/config/spring/RepositoriesConfigS3IT.java +++ b/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/config/spring/RepositoriesConfigS3IT.java @@ -46,6 +46,7 @@ @SpringBootTest(classes = DepositApp.class) @TestPropertySource(properties = { "spring.jms.listener.auto-startup=false", + "spring.cloud.aws.s3.enabled=true", "pass.deposit.repository.configuration=s3://test-bucket/s3-test-repositories.json" }) @Testcontainers diff --git a/pass-deposit-services/deposit-core/src/test/resources/test-application.properties b/pass-deposit-services/deposit-core/src/test/resources/test-application.properties index f6557152..fcffe763 100644 --- a/pass-deposit-services/deposit-core/src/test/resources/test-application.properties +++ b/pass-deposit-services/deposit-core/src/test/resources/test-application.properties @@ -15,6 +15,7 @@ # spring.jms.listener.auto-startup=false pass.deposit.jobs.disabled=true +spring.cloud.aws.s3.enabled=false pass.client.url=http://localhost:8080/ pass.client.user=test