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() {
119
119
.withRequestMatching (apiHttpRequest -> apiHttpRequest .getMethod ().equals (ApiHttpMethod .POST ),
120
120
policyBuilder -> policyBuilder .withTimeout (Duration .ofSeconds (10 )))
121
121
.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 ))))
123
124
.build (projectKey );
124
125
125
126
Assertions .assertThatExceptionOfType (TimeoutExceededException .class ).isThrownBy (() -> {
You can’t perform that action at this time.
0 commit comments