Retry failed tests. (#721)

* Retry failed tests.

* Minor updates.
This commit is contained in:
modmuss50
2022-09-11 20:25:49 +01:00
committed by GitHub
parent 1b4226aca9
commit 35e32e89f3
4 changed files with 11 additions and 4 deletions

View File

@@ -55,9 +55,10 @@ public class GradleDownloadProgressListener implements DownloadProgressListener
@Override
public void onEnd() {
Objects.requireNonNull(progressLogger);
progressLogger.completed();
progressLogger = null;
if (progressLogger != null) {
progressLogger.completed();
progressLogger = null;
}
}
private static String humanBytes(long bytes) {