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.