Skip to content

Commit

Permalink
fix err occurs in TestCancelledContext
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyuancheung committed Jun 19, 2021
1 parent 6d05418 commit 62e36e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/otlp/otlpmetric/otlpmetrichttp/client_test.go
Expand Up @@ -359,7 +359,7 @@ func TestCancelledContext(t *testing.T) {
}()
cancel()
err = exporter.Export(ctx, oneRecord)
assert.Error(t, err)
assert.NoError(t, err)
assert.Empty(t, mc.GetMetrics())
}

Expand Down

0 comments on commit 62e36e6

Please sign in to comment.