Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
huyan0 committed Aug 18, 2020
1 parent e5517d5 commit 3449935
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions exporter/prometheusremotewriteexporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ func Test_handleScalarMetric(t *testing.T) {
true,
map[string]*prompb.TimeSeries{},
},
{
"invalid_type_array",
&otlp.Metric{
MetricDescriptor: getDescriptor("invalid_type_array", histogramComb, validCombinations),
Int64DataPoints: nil,
DoubleDataPoints: nil,
HistogramDataPoints: nil,
SummaryDataPoints: nil,
},
true,
map[string]*prompb.TimeSeries{},
},
{
"same_ts_int_points",
&otlp.Metric{
Expand Down

0 comments on commit 3449935

Please sign in to comment.