Skip TestImagePullWithConcurrencyLimit on Cirrus CI

This test tends to fail under Cirrus CI + Vagrant. Skipping for now
since running the test on GitHub Actions would be suffice.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2022-04-29 22:07:10 +00:00
parent 8ec0909bbe
commit 7183fc81d2

View File

@ -449,6 +449,13 @@ func TestImagePullSchema1(t *testing.T) {
} }
func TestImagePullWithConcurrencyLimit(t *testing.T) { func TestImagePullWithConcurrencyLimit(t *testing.T) {
if os.Getenv("CIRRUS_CI") != "" {
// This test tends to fail under Cirrus CI + Vagrant due to "connection reset by peer" from
// pkg-containers.githubusercontent.com.
// Does GitHub throttle requests from Cirrus CI more compared to GitHub Actions?
t.Skip("unstable under Cirrus CI")
}
client, err := newClient(t, address) client, err := newClient(t, address)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)