From e7b60a9c594e295d7777ebac640a2b4665a7909a Mon Sep 17 00:00:00 2001 From: Nicolas Schweitzer Date: Tue, 19 Nov 2024 13:24:51 +0100 Subject: [PATCH] try fix --- .../tests/agent-subcommands/health/health_nix_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/new-e2e/tests/agent-subcommands/health/health_nix_test.go b/test/new-e2e/tests/agent-subcommands/health/health_nix_test.go index c1bdc41e3a430..f267498f006c4 100644 --- a/test/new-e2e/tests/agent-subcommands/health/health_nix_test.go +++ b/test/new-e2e/tests/agent-subcommands/health/health_nix_test.go @@ -14,15 +14,12 @@ import ( "github.com/DataDog/datadog-agent/test/new-e2e/pkg/e2e" awshost "github.com/DataDog/datadog-agent/test/new-e2e/pkg/environments/aws/host" "github.com/DataDog/test-infra-definitions/components/datadog/agentparams" - "github.com/DataDog/test-infra-definitions/components/os" - "github.com/DataDog/test-infra-definitions/scenarios/aws/ec2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) type linuxHealthSuite struct { baseHealthSuite - descriptor os.Descriptor } func TestLinuxHealthSuite(t *testing.T) { @@ -42,8 +39,7 @@ func (v *linuxHealthSuite) TestDefaultInstallUnhealthy() { // restart the agent, which validates the key using the fakeintake at startup v.UpdateEnv(awshost.Provisioner( - awshost.WithEC2InstanceOptions(ec2.WithOS(v.descriptor)), - awshost.WithAgentOptions(agentparams.WithAgentConfig("log_level: info\nforwarder_apikey_validation_interval: 1")), + awshost.WithAgentOptions(agentparams.WithAgentConfig("log_level: info\n")), )) require.EventuallyWithT(v.T(), func(collect *assert.CollectT) {