mirror of
https://github.com/helm/helm.git
synced 2026-08-08 09:01:25 +00:00
Merge pull request #30930 from benoittgt/30927-ci-fix
Fix flaky TestFindChartURL due to non-deterministic map iteration
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user