diff --git a/src/test/external/ext_out_cluster_test.go b/src/test/external/ext_out_cluster_test.go index 297894ff28..f7f8a477cc 100644 --- a/src/test/external/ext_out_cluster_test.go +++ b/src/test/external/ext_out_cluster_test.go @@ -162,7 +162,7 @@ func (suite *ExtOutClusterTestSuite) Test_2_DeployGitOps() { deployArgs = []string{"package", "deploy", path, "--confirm"} err = exec.CmdWithPrint(zarfBinPath, deployArgs...) suite.NoError(err) - err = os.Remove(temp) + err = os.RemoveAll(temp) suite.NoError(err, "unable to remove tempdir") }