From 016ef9d2bbeba2c6f361c67fd071b51edfd8cb9b Mon Sep 17 00:00:00 2001 From: skarpenko Date: Wed, 4 Sep 2024 12:33:58 +0300 Subject: [PATCH] rx3 postfix --- feign-reactor-rx3/pom.xml | 2 +- .../src/test/java/reactivefeign/rx3/StatusHandlerTest.java | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/feign-reactor-rx3/pom.xml b/feign-reactor-rx3/pom.xml index d11544fc..17ef26a4 100644 --- a/feign-reactor-rx3/pom.xml +++ b/feign-reactor-rx3/pom.xml @@ -6,7 +6,7 @@ com.playtika.reactivefeign feign-reactor-parent ../feign-reactor-parent - 4.0.3 + 4.1.2 feign-reactor-rx3 diff --git a/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java b/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java index 4866356d..c541c25c 100644 --- a/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java +++ b/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java @@ -24,7 +24,10 @@ import java.nio.charset.Charset; import java.util.Collections; -import static com.github.tomakehurst.wiremock.client.WireMock.*; +import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; +import static com.github.tomakehurst.wiremock.client.WireMock.equalTo; +import static com.github.tomakehurst.wiremock.client.WireMock.get; +import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo; import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; import static reactivefeign.rx3.client.statushandler.Rx3StatusHandlers.throwOnStatus; import static reactivefeign.utils.FeignUtils.httpMethod; @@ -65,7 +68,7 @@ public void shouldThrowRetryException() throws InterruptedException { return new RetryableException( response.status(), "Should retry on next node", - httpMethod, null, request); + httpMethod, (Long)null, request); })) .target(IcecreamServiceApi.class, "http://localhost:" + wireMockRule.port());