From 616c36f0339ab898eb76fba9ec79f45e09d21d78 Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Sat, 16 Sep 2023 16:55:50 +0200 Subject: [PATCH] Skip TestRemovePath as not working as expected and we have an issue for it #3221 (#3424) --- internal/pkg/agent/install/uninstall_windows_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/pkg/agent/install/uninstall_windows_test.go b/internal/pkg/agent/install/uninstall_windows_test.go index e029b471513..513a8a3f622 100644 --- a/internal/pkg/agent/install/uninstall_windows_test.go +++ b/internal/pkg/agent/install/uninstall_windows_test.go @@ -22,6 +22,8 @@ func TestRemovePath(t *testing.T) { binaryName = pkgName + ".exe" ) + t.Skip("https://github.com/elastic/elastic-agent/issues/3221") + // Create a temporary directory that we can safely remove. The directory is created as a new // sub-directory. This avoids having Microsoft Defender quarantine the file if it is exec'd from // the default temporary directory.