diff --git a/modules/helm/install_test.go b/modules/helm/install_test.go index 926b18be3..1ce05bbe6 100644 --- a/modules/helm/install_test.go +++ b/modules/helm/install_test.go @@ -16,6 +16,8 @@ import ( "testing" "time" + "github.com/gruntwork-io/terratest/modules/files" + "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -110,6 +112,9 @@ func TestHelmDependencyInstall(t *testing.T) { helmChartPath, err := filepath.Abs("../../examples/helm-dependency-example") require.NoError(t, err) + helmChartPath, err = files.CopyTerraformFolderToTemp(helmChartPath, t.Name()) + require.NoError(t, err) + // Custom namespace name. namespaceName := fmt.Sprintf("helm-dependency-example-%s", strings.ToLower(random.UniqueId()))