diff --git a/internal/pkg/artifact/download/http/downloader_test.go b/internal/pkg/artifact/download/http/downloader_test.go index 6fa2777c02f..26164df3a49 100644 --- a/internal/pkg/artifact/download/http/downloader_test.go +++ b/internal/pkg/artifact/download/http/downloader_test.go @@ -25,6 +25,7 @@ import ( ) func TestDownloadBodyError(t *testing.T) { + t.Skip("Skipping flaky test: https://github.com/elastic/elastic-agent/issues/640") // This tests the scenario where the download encounters a network error // part way through the download, while copying the response body.