Skip to content

Commit

Permalink
reproduce data race
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Aug 11, 2023
1 parent 9bb1827 commit 6b9f2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/metric/reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (ts *readerTestSuite) TestMethodConcurrentSafe() {
wg.Add(1)
go func() {
defer wg.Done()
_ = ts.Reader.Collect(ctx, nil)
_ = ts.Reader.Collect(ctx, &metricdata.ResourceMetrics{})
}()

if f, ok := ts.Reader.(interface{ ForceFlush(context.Context) error }); ok {
Expand Down

0 comments on commit 6b9f2ed

Please sign in to comment.