Skip to content

Commit 63cbd9b

Browse files
committed
Attempts to fix failing test
1 parent b0ae672 commit 63cbd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SpringCloudCircuitBreakerTestConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public RouteLocator circuitBreakerRouteLocator(RouteLocatorBuilder builder) {
119119
.route("circuitbreaker_connection_failure", r -> r.host("**.circuitbreakerconnectfail.org")
120120
.filters(f -> f.prefixPath("/httpbin").circuitBreaker(config -> {
121121
}))
122-
.uri("lb://badservice"))
122+
.uri(uri))
123123
/*
124124
* This is a route encapsulated in a circuit breaker that is ready to wait for
125125
* a response far longer than the underpinning WebClient would.

0 commit comments

Comments
 (0)