Skip to content

Commit 1a1ea8c

Browse files
committed
ci: increase Rocky download concurrency and retain retry config comments
- Set DNF max_parallel_downloads to 10 for Rocky dependency installation - Restore the test-retry plugin and configuration as comments, keeping retries disabled
1 parent 28a6933 commit 1a1ea8c

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/pr-build.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ jobs:
153153
# Rocky 8 already provides CA certificates, JNI runtime libraries, tar and gzip.
154154
# Its built-in C.utf8 locale provides UTF-8 without an extra language pack.
155155
# git-core provides checkout commands; zstd supports actions/cache compression.
156-
dnf -y --setopt=install_weak_deps=False install \
156+
# Download more packages concurrently when mirror requests are slow.
157+
dnf -y --setopt=install_weak_deps=False --setopt=max_parallel_downloads=10 install \
157158
java-1.8.0-openjdk-devel git-core zstd
158159
# Set JAVA_HOME so the Gradle wrapper does not need which.
159160
javac_path=$(command -v javac)

‎framework/build.gradle‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
// id "org.gradle.test-retry" version "1.5.9"
23
id "org.sonarqube" version "2.6"
34
id "com.gorylenko.gradle-git-properties" version "2.4.1"
45
}
@@ -109,6 +110,10 @@ run {
109110
}
110111

111112
def configureTestTask = { Task t ->
113+
// t.retry {
114+
// maxRetries = 5
115+
// maxFailures = 20
116+
// }
112117
t.testLogging {
113118
exceptionFormat = 'full'
114119
}

0 commit comments

Comments
 (0)