Skip to content

Commit

Permalink
fix failing tests TestTraceWriterFlushRetries
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoffl01 committed Dec 19, 2024
1 parent 2bdd65c commit 235dc8c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ddtrace/tracer/writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,12 +386,14 @@ func TestTraceWriterFlushRetries(t *testing.T) {
}

sentCounts := map[string]int64{
"datadog.tracer.decode_error": 1,
"datadog.tracer.flush_bytes": 185,
"datadog.tracer.flush_traces": 1,
"datadog.tracer.decode_error": 1,
"datadog.tracer.flush_bytes": 185,
"datadog.tracer.flush_traces": 1,
"datadog.tracer.queue.enqueued.traces": 1,
}
droppedCounts := map[string]int64{
"datadog.tracer.traces_dropped": 1,
"datadog.tracer.queue.enqueued.traces": 1,
"datadog.tracer.traces_dropped": 1,
}

ss := []*span{makeSpan(0)}
Expand Down

0 comments on commit 235dc8c

Please sign in to comment.