fix(pkg/downloader): add failing test for build with repo alias

Signed-off-by: Hang Park <hangpark@kaist.ac.kr>
pull/7423/head
Hang Park 5 years ago committed by Matthew Fisher
parent c7b722b837
commit bd47ae79e9
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -181,7 +181,8 @@ func TestGetRepoNames(t *testing.T) {
}
}
// This function is the skeleton test code of failing tests for #6416 and bugs due to #5874.
// This function is the skeleton test code of failing tests for #6416 and #6871 and bugs due to #5874.
//
// This function is used by below tests that ensures success of build operation
// with optional fields, alias, condition, tags, and even with ranged version.
// Parent chart includes local-subchart 0.1.0 subchart from a fake repository, by default.
@ -283,3 +284,11 @@ func TestBuild_WithTags(t *testing.T) {
Tags: []string{"tag1", "tag2"},
})
}
// Failing test for #6871
func TestBuild_WithRepositoryAlias(t *testing.T) {
// Dependency repository is aliased in Chart.yaml
checkBuildWithOptionalFields(t, "with-repository-alias", chart.Dependency{
Repository: "@test",
})
}

Loading…
Cancel
Save