[INS-226] use pinned image for quay registry test (#4602)
This commit is contained in:
@@ -71,7 +71,7 @@ func TestQuayRegistry(t *testing.T) {
|
||||
Credential: &sourcespb.Docker_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{}
|
||||
@@ -109,9 +109,9 @@ func TestQuayRegistry(t *testing.T) {
|
||||
close(chunksChan)
|
||||
wg.Wait()
|
||||
|
||||
assert.Equal(t, 944, chunkCounter)
|
||||
assert.Equal(t, 941, layerCounter)
|
||||
assert.Equal(t, 3, historyCounter)
|
||||
assert.Equal(t, 1302, chunkCounter)
|
||||
assert.Equal(t, 1291, layerCounter)
|
||||
assert.Equal(t, 11, historyCounter)
|
||||
}
|
||||
|
||||
func TestGHCRRegistry(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user