mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '2.3.x'
This commit is contained in:
commit
f3134600c0
@ -97,7 +97,7 @@ public class BintrayService {
|
||||
public boolean isDistributionComplete(ReleaseInfo releaseInfo, Set<String> requiredDigests, Duration timeout,
|
||||
Duration pollInterval) {
|
||||
logger.debug("Checking if distribution is complete");
|
||||
RequestEntity<Void> request = getPackageFilesRequest(releaseInfo, 0);
|
||||
RequestEntity<Void> request = getPackageFilesRequest(releaseInfo, 1);
|
||||
try {
|
||||
waitAtMost(timeout).with().pollDelay(Duration.ZERO).pollInterval(pollInterval).until(() -> {
|
||||
logger.debug("Checking Bintray");
|
||||
|
@ -77,9 +77,9 @@ class BintrayServiceTests {
|
||||
|
||||
@Test
|
||||
void isDistributionComplete() throws Exception {
|
||||
setupGetPackageFiles(0, "no-package-files.json");
|
||||
setupGetPackageFiles(0, "some-package-files.json");
|
||||
setupGetPackageFiles(0, "all-package-files.json");
|
||||
setupGetPackageFiles(1, "no-package-files.json");
|
||||
setupGetPackageFiles(1, "some-package-files.json");
|
||||
setupGetPackageFiles(1, "all-package-files.json");
|
||||
Set<String> digests = new LinkedHashSet<>();
|
||||
digests.add("602e20176706d3cc7535f01ffdbe91b270ae5012");
|
||||
digests.add("602e20176706d3cc7535f01ffdbe91b270ae5013");
|
||||
|
Loading…
Reference in New Issue
Block a user