Commit c7023c5b authored by Phillip Webb's avatar Phillip Webb

Increase bintray timeout

parent a23bb1d9
...@@ -87,7 +87,7 @@ public class BintrayService { ...@@ -87,7 +87,7 @@ public class BintrayService {
}, Objects::nonNull); }, Objects::nonNull);
RequestEntity<Void> publishedFilesRequest = getRequest(releaseInfo, 0); RequestEntity<Void> publishedFilesRequest = getRequest(releaseInfo, 0);
try { try {
waitAtMost(40, TimeUnit.MINUTES).with().pollDelay(20, TimeUnit.SECONDS).until(() -> { waitAtMost(120, TimeUnit.MINUTES).with().pollDelay(20, TimeUnit.SECONDS).until(() -> {
Object[] publishedFiles = this.restTemplate.exchange(publishedFilesRequest, Object[].class).getBody(); Object[] publishedFiles = this.restTemplate.exchange(publishedFilesRequest, Object[].class).getBody();
return allFiles.length == publishedFiles.length; return allFiles.length == publishedFiles.length;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment