Revert "Revert "Revert "Came back to previous test impl"" - priort to the release" - after the release

This reverts commit 3173ca1505.
This commit is contained in:
Marcin Grzejszczak
2019-10-31 12:40:32 +01:00
parent 54068d24ce
commit ec5973bd90

View File

@@ -209,7 +209,7 @@ class CustomConfig {
this.feignComponentAsserter.executedComponents.put(ErrorDecoder.class, true);
if (response.status() == 409) {
return new RetryableException(response.status(), "Article not Ready",
Request.HttpMethod.GET, new Date());
Request.HttpMethod.GET, new Date(), response.request());
}
else {
return super.decode(methodKey, response);