Skip to content

Commit ea763b6

Browse files
committed
Fix installOpts
1 parent cf4ba02 commit ea763b6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

testing/integration/ess/endpoint_security_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,11 @@ func TestPolicyReassignWithTamperProtectedEndpoint(t *testing.T) {
18441844
require.NoError(t, err)
18451845

18461846
t.Log("Install and enroll Elastic Agent with the first policy")
1847-
opts := atesting.InstallOpts{}
1847+
opts := atesting.InstallOpts{
1848+
NonInteractive: true,
1849+
Force: true,
1850+
Privileged: true,
1851+
}
18481852
_, err = tools.InstallAgentForPolicyWithToken(ctx, t, opts, fixture, info.KibanaClient, enrollKeyResp)
18491853
require.NoError(t, err, "failed to install Elastic Agent with the first policy")
18501854

0 commit comments

Comments
 (0)