Skip to content

Commit

Permalink
remove printf statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantanjunming committed Oct 23, 2024
1 parent 8375e97 commit c4f54fd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions otel-integration/k8s-helm/e2e-test/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ func checkScopeMetrics(t *testing.T, rmetrics pmetric.ResourceMetrics) error {
for j := 0; j < metrics.Len(); j++ {
metric := metrics.At(j)

t.Logf("metrics %s %t", metric.Name(), expectedMetrics[metric.Name()])

_, ok := expectedMetrics[metric.Name()]
if ok {
expectedMetrics[metric.Name()] = true
Expand Down Expand Up @@ -144,9 +142,6 @@ func checkResourceAttributes(t *testing.T, attributes pcommon.Map, scopeName str

attributes.Range(func(k string, v pcommon.Value) bool {
val, ok := compareMap[k]
if scopeName == "hostmetricsreceiver" {
t.Logf("hostmetricsreceiver attribute %s %s", k, v.AsString())
}
require.True(t, ok, "unexpected attribute %v - scopeName: %s", k, scopeName)
if val != "" {
require.Equal(t, val, v.AsString(), "unexpected value for attribute %v", k)
Expand Down

0 comments on commit c4f54fd

Please sign in to comment.