diff --git a/internal/pkg/agent/install/uninstall.go b/internal/pkg/agent/install/uninstall.go index f60b057d819..cc1f18380f3 100644 --- a/internal/pkg/agent/install/uninstall.go +++ b/internal/pkg/agent/install/uninstall.go @@ -112,7 +112,7 @@ func RemovePath(path string) error { _ = removeBlockingExe(lastErr) } - time.Sleep(time.Millisecond) + time.Sleep(50 * time.Millisecond) } return fmt.Errorf("timed out while removing %q. Last error: %w", path, lastErr)