mirror of
https://github.com/gradle/actions
synced 2024-11-27 11:52:24 +00:00
Update test for real-world data
This test assumed that at least one 'snapshot' wrapper checksum was unique, and not contained in the set of wrapper checksums for released distributions. This is no longer the case, so the assumption has been modified.
This commit is contained in:
parent
c345cfbe93
commit
f31476bde2
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ test('fetches wrapper jar checksums for snapshots', async () => {
|
||||||
const validChecksums = await checksums.fetchUnknownChecksums(true, new checksums.WrapperChecksums)
|
const validChecksums = await checksums.fetchUnknownChecksums(true, new checksums.WrapperChecksums)
|
||||||
|
|
||||||
// Expect that at least one snapshot checksum is different from the non-snapshot checksums
|
// Expect that at least one snapshot checksum is different from the non-snapshot checksums
|
||||||
expect(validChecksums.size).toBeGreaterThan(nonSnapshotChecksums.size)
|
expect(nonSnapshotChecksums.size).toBeGreaterThan(10)
|
||||||
|
expect(validChecksums.size).toBeGreaterThanOrEqual(nonSnapshotChecksums.size)
|
||||||
})
|
})
|
||||||
|
|
||||||
test('fetches all wrapper checksum URLS for snapshots', async () => {
|
test('fetches all wrapper checksum URLS for snapshots', async () => {
|
||||||
|
|
Loading…
Reference in a new issue