diff --git a/pkg/downloader/manager_test.go b/pkg/downloader/manager_test.go index 163958f47..2d698aa68 100644 --- a/pkg/downloader/manager_test.go +++ b/pkg/downloader/manager_test.go @@ -297,7 +297,7 @@ func TestDownloadAllConcurrent(t *testing.T) { } _, err = os.Stat(filepath.Join(chartPath, "charts", "signtest-0.1.0.tgz")) - require.NotErrorIs(t, err, fs.ErrNotExist) + require.NoError(t, err) // No leftover tmpcharts-* directories from any of the concurrent calls. entries, err := os.ReadDir(chartPath)