Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Do not try to start trace exporter in TestExportTimeSeriesWithDiffere…
Browse files Browse the repository at this point in the history
…ntLabels (#203)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Sep 8, 2019
1 parent 6ee7f96 commit d50bb4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metrics_proto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ func TestExportTimeSeriesWithDifferentLabels(t *testing.T) {

// Set empty labels to avoid the opencensus-task
DefaultMonitoringLabels: &Labels{},
MapResource: defaultMapResource,
}
se, err := NewExporter(exporterOptions)
se, err := newStatsExporter(exporterOptions)
if err != nil {
t.Fatalf("Failed to create the statsExporter: %v", err)
}
Expand Down

0 comments on commit d50bb4a

Please sign in to comment.