From e1c52ca5766c22c89a9fbc122af93172ef896b36 Mon Sep 17 00:00:00 2001 From: sgibb Date: Fri, 15 Mar 2024 17:02:45 -0400 Subject: [PATCH] Disables test on github actions --- .../factory/SpringCloudCircuitBreakerFilterFactoryTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SpringCloudCircuitBreakerFilterFactoryTests.java b/spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SpringCloudCircuitBreakerFilterFactoryTests.java index 00dfc67b90..a5de908932 100644 --- a/spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SpringCloudCircuitBreakerFilterFactoryTests.java +++ b/spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SpringCloudCircuitBreakerFilterFactoryTests.java @@ -17,6 +17,7 @@ package org.springframework.cloud.gateway.filter.factory; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; import org.springframework.cloud.gateway.test.BaseWebClientTests; import org.springframework.http.HttpStatus; @@ -92,6 +93,7 @@ public void filterConnectFailure() { } @Test + @DisabledIfEnvironmentVariable(named = "GITHUB_ACTIONS", matches = "true") public void filterErrorPage() { testClient.get().uri("/delay/3").header("Host", "www.circuitbreakerconnectfail.org").accept(APPLICATION_JSON) .exchange().expectStatus().is5xxServerError().expectBody().jsonPath("$.status").isEqualTo(504)