File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
commercetools/commercetools-sdk-java-api/src/integrationTest/java/commercetools Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ public void requestPolicies() {
119119 .withRequestMatching (apiHttpRequest -> apiHttpRequest .getMethod ().equals (ApiHttpMethod .POST ),
120120 policyBuilder -> policyBuilder .withTimeout (Duration .ofSeconds (10 )))
121121 .withRequestMatching (apiHttpRequest -> apiHttpRequest .getMethod ().equals (ApiHttpMethod .GET ),
122- policyBuilder -> policyBuilder .withTimeout (Duration .ofSeconds (1 ))))
122+ policyBuilder -> policyBuilder .withTimeout (Duration .ofSeconds (1 )))
123+ .withAllOtherRequests (policyBuilder -> policyBuilder .withTimeout (Duration .ofSeconds (60 ))))
123124 .build (projectKey );
124125
125126 Assertions .assertThatExceptionOfType (TimeoutExceededException .class ).isThrownBy (() -> {
You can’t perform that action at this time.
0 commit comments