From c520fa1c2f93bee3ec8140416327bfd08e261c59 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Thu, 12 Dec 2019 21:32:10 -0500 Subject: [PATCH] Trys to make test more robust --- .../filter/factory/HystrixGatewayFilterFactoryTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/HystrixGatewayFilterFactoryTests.java b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/HystrixGatewayFilterFactoryTests.java index 965dea687..930a64724 100644 --- a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/HystrixGatewayFilterFactoryTests.java +++ b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/filter/factory/HystrixGatewayFilterFactoryTests.java @@ -127,7 +127,7 @@ public class HystrixGatewayFilterFactoryTests extends BaseWebClientTests { testClient.get().uri("/delay/3").header("Host", "www.hystrixconnectfail.org") .accept(APPLICATION_JSON).exchange().expectStatus().is5xxServerError() .expectBody().jsonPath("$.status").value(Matchers.greaterThanOrEqualTo(500)).jsonPath("$.message") - .isNotEmpty().jsonPath("$.error").isEqualTo("Internal Server Error"); + .isNotEmpty().jsonPath("$.error").isNotEmpty(); } @Test