Skip to content

Commit

Permalink
remove export test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Jun 15, 2023
1 parent dc0ed15 commit b6e5f6b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions sdk/metric/periodic_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,19 +309,6 @@ func TestPeriodicReaderRun(t *testing.T) {
return nil, ctx.Err()
},

expectedHandlerErr: context.DeadlineExceeded,
},
{
name: "with an export that runs for too long",
opts: []PeriodicReaderOption{
WithTimeout(time.Nanosecond),
},

exportFunc: func(ctx context.Context, m *metricdata.ResourceMetrics) error {
time.Sleep(time.Millisecond)
return ctx.Err()
},

expectedHandlerErr: context.DeadlineExceeded,
},
} {
Expand Down

0 comments on commit b6e5f6b

Please sign in to comment.