From eb9d8f39fb554b531db061217bb3a8477bf26fc7 Mon Sep 17 00:00:00 2001 From: Tiago Queiroz Date: Thu, 16 Nov 2023 13:05:43 +0100 Subject: [PATCH] try fixing endpoint tests by isolating them --- testing/integration/endpoint_security_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/integration/endpoint_security_test.go b/testing/integration/endpoint_security_test.go index e58afa72c45..46534f91d9b 100644 --- a/testing/integration/endpoint_security_test.go +++ b/testing/integration/endpoint_security_test.go @@ -76,7 +76,7 @@ func TestInstallAndCLIUninstallWithEndpointSecurity(t *testing.T) { info := define.Require(t, define.Requirements{ Stack: &define.Stack{}, Local: false, // requires Agent installation - Isolate: false, + Isolate: true, Sudo: true, // requires Agent installation OS: []define.OS{ {Type: define.Linux}, @@ -102,7 +102,7 @@ func TestInstallAndUnenrollWithEndpointSecurity(t *testing.T) { info := define.Require(t, define.Requirements{ Stack: &define.Stack{}, Local: false, // requires Agent installation - Isolate: false, + Isolate: true, Sudo: true, // requires Agent installation OS: []define.OS{ {Type: define.Linux}, @@ -130,7 +130,7 @@ func TestInstallWithEndpointSecurityAndRemoveEndpointIntegration(t *testing.T) { info := define.Require(t, define.Requirements{ Stack: &define.Stack{}, Local: false, // requires Agent installation - Isolate: false, + Isolate: true, Sudo: true, // requires Agent installation OS: []define.OS{ {Type: define.Linux}, @@ -493,7 +493,7 @@ func TestEndpointSecurityNonDefaultBasePath(t *testing.T) { info := define.Require(t, define.Requirements{ Stack: &define.Stack{}, Local: false, // requires Agent installation - Isolate: false, + Isolate: true, Sudo: true, // requires Agent installation })