[INS-226] use pinned image for quay registry test (#4602)

This commit is contained in:
Mustansir
2025-12-15 20:35:02 +05:00
committed by GitHub
parent 3cb2166ddd
commit 8aea6cd9da
+4 -4
View File
@@ -71,7 +71,7 @@ func TestQuayRegistry(t *testing.T) {
Credential: &sourcespb.Docker_Unauthenticated{ Credential: &sourcespb.Docker_Unauthenticated{
Unauthenticated: &credentialspb.Unauthenticated{}, Unauthenticated: &credentialspb.Unauthenticated{},
}, },
Images: []string{"quay.io/prometheus/busybox"}, // https://quay.io/repository/prometheus/busybox Images: []string{"quay.io/prometheus/node-exporter@sha256:337ff1d356b68d39cef853e8c6345de11ce7556bb34cda8bd205bcf2ed30b565"},
} }
conn := &anypb.Any{} conn := &anypb.Any{}
@@ -109,9 +109,9 @@ func TestQuayRegistry(t *testing.T) {
close(chunksChan) close(chunksChan)
wg.Wait() wg.Wait()
assert.Equal(t, 944, chunkCounter) assert.Equal(t, 1302, chunkCounter)
assert.Equal(t, 941, layerCounter) assert.Equal(t, 1291, layerCounter)
assert.Equal(t, 3, historyCounter) assert.Equal(t, 11, historyCounter)
} }
func TestGHCRRegistry(t *testing.T) { func TestGHCRRegistry(t *testing.T) {