Skip to content

Commit

Permalink
remove stale unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
adel121 committed Oct 11, 2024
1 parent 967da85 commit 31fd2a8
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions pkg/util/containers/entity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"testing"

"github.com/stretchr/testify/assert"

"github.com/DataDog/datadog-agent/comp/core/tagger/types"
)

func TestBuildEntityName(t *testing.T) {
Expand All @@ -36,23 +34,6 @@ func TestBuildEntityName(t *testing.T) {
}
}

func TestBuildTaggerEntityName(t *testing.T) {
for nb, tc := range []struct {
cID string
expected string
}{
// Empty
{"", "container_id://"},
// Empty runtime
{"5bef08742407ef", "container_id://5bef08742407ef"},
} {
t.Run(fmt.Sprintf("case %d: %s", nb, tc.expected), func(t *testing.T) {
out := types.NewEntityID(types.ContainerID, tc.cID).String()
assert.Equal(t, tc.expected, out)
})
}
}

func TestSplitEntityName(t *testing.T) {
for nb, tc := range []struct {
entity string
Expand Down

0 comments on commit 31fd2a8

Please sign in to comment.