mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-28 21:09:17 +02:00
982e96dd9b
Fix #5384 Run of `go test -count=1000000 -run="TestBatchProcessor/DroppedLogs"` **Before**: Failed with either `Condition never satisfied` or panic **After**: Passed First, bytes.Buffer is not thread-safe, so writing log and reading (`bytes.String()`) caused panic. Added `concurrentBuffer` Second, fixed flaky test with 4 records: 1. Record goes to `testExporter.Export` function and blocks in this function because of `ExportTrigger` ( |
||
---|---|---|
.. | ||
instrumentation | ||
internal | ||
log | ||
metric | ||
resource | ||
trace | ||
go.mod | ||
go.sum | ||
README.md | ||
version_test.go | ||
version.go |