Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boten committed Mar 1, 2022
1 parent 3897abc commit 10149d0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions model/pdata/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -661,18 +661,6 @@ func TestMetricsDataPointFlags(t *testing.T) {
assert.Equal(t, "FLAG_NO_RECORDED_VALUE", gauge.DataPoints().At(0).Flags().String())
}

// TestNumberDataPointType tests deprecated NumberDataPoint.Type
func TestNumberDataPointType(t *testing.T) {
tv := NewNumberDataPoint()
assert.Equal(t, tv.ValueType(), tv.Type())
}

// TestExemplarType tests deprecated Exemplar.Type
func TestExemplarType(t *testing.T) {
tv := NewExemplar()
assert.Equal(t, tv.ValueType(), tv.Type())
}

func BenchmarkMetricsClone(b *testing.B) {
metrics := NewMetrics()
fillTestResourceMetricsSlice(metrics.ResourceMetrics())
Expand Down

0 comments on commit 10149d0

Please sign in to comment.