Merge branch 'main' into wrapperbot/gradle-actions-init-script-tests/gradle-wrapper-9.2.0

This commit is contained in:
Jérôme Prinet
2025-11-04 16:20:58 +01:00
committed by GitHub
20 changed files with 693 additions and 606 deletions

View File

@@ -20,7 +20,7 @@ dependencies {
testImplementation ('io.ratpack:ratpack-groovy-test:1.9.0') {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
testImplementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.20.0'
testImplementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.20.1'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}

View File

@@ -65,10 +65,9 @@ describe('retry', () => {
nock('https://services.gradle.org', {allowUnmocked: true})
.get('/versions/all')
.times(3)
.replyWithError({
message: 'connect ECONNREFUSED 104.18.191.9:443',
code: 'ECONNREFUSED'
})
.replyWithError(
Object.assign(new Error('Connection refused'), { code: 'ECONNREFUSED' }),
)
const validChecksums = await checksums.fetchUnknownChecksums(false, knownChecksumsWithout8_1())
expect(validChecksums.checksums.size).toBeGreaterThan(0)