Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-taf committed Mar 27, 2024
1 parent ad9a81e commit 02a6af3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func TestLiveContainerFeature(t *testing.T) {
Agent: testExpectedAgent(apicommonv1.CoreAgentContainerName, true),
},
{
Name: "v2alpha1 live process collection enabled in core agent via option without min version",
Name: "v2alpha1 live container collection enabled in core agent via option without min version",
DDAv2: v2alpha1test.NewDatadogAgentBuilder().
WithLiveContainerCollectionEnabled(true).
WithComponentOverride(
Expand Down
15 changes: 0 additions & 15 deletions controllers/datadogagent/feature/liveprocess/feature_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,6 @@ func Test_liveProcessFeature_Configure(t *testing.T) {
WantConfigure: true,
Agent: testExpectedAgent(apicommonv1.CoreAgentContainerName, true, false),
},
{
Name: "v2alpha1 live process collection disabled in core agent via env vars",
DDAv2: v2alpha1test.NewDatadogAgentBuilder().
WithLiveProcessEnabled(true).
WithComponentOverride(
v2alpha1.NodeAgentComponentName,
v2alpha1.DatadogAgentComponentOverride{
Image: &apicommonv1.AgentImageConfig{Tag: "7.53.0"},
Env: []corev1.EnvVar{{Name: "DD_PROCESS_CONFIG_RUN_IN_CORE_AGENT_ENABLED", Value: "false"}},
},
).
Build(),
WantConfigure: true,
Agent: testExpectedAgent(apicommonv1.ProcessAgentContainerName, false, false),
},
{
Name: "v2alpha1 live process collection enabled in core agent via option",
DDAv2: v2alpha1test.NewDatadogAgentBuilder().
Expand Down
15 changes: 0 additions & 15 deletions controllers/datadogagent/feature/processdiscovery/feature_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,6 @@ func Test_processDiscoveryFeature_Configure(t *testing.T) {
WantConfigure: true,
Agent: testExpectedAgent(apicommonv1.CoreAgentContainerName, true),
},
{
Name: "v2alpha1 process discovery disabled in core agent via env vars",
DDAv2: v2alpha1test.NewDatadogAgentBuilder().
WithProcessDiscoveryEnabled(true).
WithComponentOverride(
v2alpha1.NodeAgentComponentName,
v2alpha1.DatadogAgentComponentOverride{
Image: &apicommonv1.AgentImageConfig{Tag: "7.53.0"},
Env: []corev1.EnvVar{{Name: "DD_PROCESS_CONFIG_RUN_IN_CORE_AGENT_ENABLED", Value: "false"}},
},
).
Build(),
WantConfigure: true,
Agent: testExpectedAgent(apicommonv1.ProcessAgentContainerName, false),
},
{
Name: "v2alpha1 process discovery enabled in core agent via option",
DDAv2: v2alpha1test.NewDatadogAgentBuilder().
Expand Down

0 comments on commit 02a6af3

Please sign in to comment.