Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Nov 19, 2024
1 parent dbcd753 commit e7b60a9
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit e7b60a9

Please sign in to comment.