Skip to content

Commit

Permalink
fix(TestCPU): Mark as flake in the flakes.yaml (#25535)
Browse files Browse the repository at this point in the history
* fix(TestCPU): Mark as flake in the flakes.yaml

* Apply suggestions from code review

Co-authored-by: Lénaïc Huard <L3n41c@users.noreply.github.com>

---------

Co-authored-by: Lénaïc Huard <L3n41c@users.noreply.github.com>
  • Loading branch information
chouetz and L3n41c committed May 13, 2024
1 parent 010f0bd commit a5f7a7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 8 additions & 0 deletions flakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@
# "test/new-e2e/tests/agent-platform/install-script"
# - "TestInstallScript/test_install_script_on_centos-79_x86_64_datadog-agent_agent_7"

# TODO: https://datadoghq.atlassian.net/browse/CONTINT-4143
test/new-e2e/tests/containers:
- TestEKSSuite/TestCPU/metric___container.cpu.usage{^kube_deployment:stress-ng$,^kube_namespace:workload-cpustress$}
- TestEKSSuite/TestCPU
- TestEKSSuite
- TestKindSuite/TestCPU/metric___container.cpu.usage{^kube_deployment:stress-ng$,^kube_namespace:workload-cpustress$}
- TestKindSuite/TestCPU
- TestKindSuite
3 changes: 0 additions & 3 deletions test/new-e2e/tests/containers/k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"github.com/DataDog/agent-payload/v5/cyclonedx_v1_4"
"github.com/DataDog/agent-payload/v5/sbom"
"github.com/DataDog/datadog-agent/pkg/util/pointer"
"github.com/DataDog/datadog-agent/pkg/util/testutil/flake"
"github.com/DataDog/datadog-agent/test/fakeintake/aggregator"
fakeintake "github.com/DataDog/datadog-agent/test/fakeintake/client"
"gopkg.in/zorkian/go-datadog-api.v2"
Expand Down Expand Up @@ -449,8 +448,6 @@ func (suite *k8sSuite) TestRedis() {

func (suite *k8sSuite) TestCPU() {
// TODO: https://datadoghq.atlassian.net/browse/CONTINT-4143
flake.Mark(suite.T())

// Test CPU metrics
suite.testMetric(&testMetricArgs{
Filter: testMetricFilterArgs{
Expand Down

0 comments on commit a5f7a7f

Please sign in to comment.