Fix test isolation: Add missing ensure.HelmHome(t) to TestExtractPluginInSubdirectory

This test was writing to the user's actual Helm data and cache directories

Signed-off-by: Scott Rigby <scott@r6by.com>
pull/31176/head
Scott Rigby 1 month ago
parent aae686cfee
commit f3fc00cca0
No known key found for this signature in database
GPG Key ID: C7C6FBB5B91C1155

@ -515,6 +515,7 @@ func TestExtractWithExistingDirectory(t *testing.T) {
}
func TestExtractPluginInSubdirectory(t *testing.T) {
ensure.HelmHome(t)
source := "https://repo.localdomain/plugins/subdir-plugin-1.0.0.tar.gz"
tempDir := t.TempDir()

Loading…
Cancel
Save