Merge pull request #30930 from benoittgt/30927-ci-fix

Fix flaky TestFindChartURL due to non-deterministic map iteration
This commit is contained in:
Robert Sirchia
2025-05-28 15:03:46 -04:00
committed by GitHub

View File

@@ -115,7 +115,7 @@ func TestFindChartURL(t *testing.T) {
t.Errorf("Unexpected passcredentialsall %t", passcredentialsall)
}
name = "baz"
name = "foo"
version = "1.2.3"
repoURL = "http://example.com/helm"
@@ -124,7 +124,7 @@ func TestFindChartURL(t *testing.T) {
t.Fatal(err)
}
if churl != "http://example.com/path/to/baz-1.2.3.tgz" {
if churl != "http://example.com/helm/charts/foo-1.2.3.tgz" {
t.Errorf("Unexpected URL %q", churl)
}
if username != "" {