Increase bintray timeout
This commit is contained in:
parent
a23bb1d909
commit
c7023c5b17
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue