mirror of
https://github.com/gradle/actions.git
synced 2026-01-25 17:26:10 +08:00
Merge branch 'main' into wrapperbot/gradle-actions-init-script-tests/gradle-wrapper-9.2.0
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user