From c192ba162a3d495a10b0ab3b15e991b62c79fa8d Mon Sep 17 00:00:00 2001 From: Loredana Crusoveanu Date: Wed, 19 Oct 2022 16:52:31 +0300 Subject: [PATCH] BAEL-5798 rename test to manual --- .../src/main/resources/application.properties | 2 +- ...llerUnitTest.java => ResilientAppControllerManualTest.java} | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename spring-boot-modules/spring-boot-libraries-2/src/test/java/com/baeldung/resilientapp/{ResilientAppControllerUnitTest.java => ResilientAppControllerManualTest.java} (97%) diff --git a/spring-boot-modules/spring-boot-libraries-2/src/main/resources/application.properties b/spring-boot-modules/spring-boot-libraries-2/src/main/resources/application.properties index 2247eb22cc..a18eda349a 100644 --- a/spring-boot-modules/spring-boot-libraries-2/src/main/resources/application.properties +++ b/spring-boot-modules/spring-boot-libraries-2/src/main/resources/application.properties @@ -2,7 +2,7 @@ org.jobrunr.background-job-server.enabled=true org.jobrunr.dashboard.enabled=true org.jobrunr.dashboard.port=0 -logging.level.root=DEBUG +logging.level.root=INFO management.health.circuitbreakers.enabled=true management.health.ratelimiters.enabled=true diff --git a/spring-boot-modules/spring-boot-libraries-2/src/test/java/com/baeldung/resilientapp/ResilientAppControllerUnitTest.java b/spring-boot-modules/spring-boot-libraries-2/src/test/java/com/baeldung/resilientapp/ResilientAppControllerManualTest.java similarity index 97% rename from spring-boot-modules/spring-boot-libraries-2/src/test/java/com/baeldung/resilientapp/ResilientAppControllerUnitTest.java rename to spring-boot-modules/spring-boot-libraries-2/src/test/java/com/baeldung/resilientapp/ResilientAppControllerManualTest.java index 3022583204..de86a2477b 100644 --- a/spring-boot-modules/spring-boot-libraries-2/src/test/java/com/baeldung/resilientapp/ResilientAppControllerUnitTest.java +++ b/spring-boot-modules/spring-boot-libraries-2/src/test/java/com/baeldung/resilientapp/ResilientAppControllerManualTest.java @@ -34,7 +34,8 @@ import com.github.tomakehurst.wiremock.core.WireMockConfiguration; import com.github.tomakehurst.wiremock.junit5.WireMockExtension; @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) -class ResilientAppControllerUnitTest { +// test marked as manual because there are multiple test methods calling the same API and the order is not guaranteed +class ResilientAppControllerManualTest { @RegisterExtension static WireMockExtension EXTERNAL_SERVICE = WireMockExtension.newInstance()