Skip to content

Commit

Permalink
add shutdown to test
Browse files Browse the repository at this point in the history
  • Loading branch information
moh-osman3 committed Nov 17, 2023
1 parent b4ae2fa commit cd894e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ func TestBatchProcessorCancelContext(t *testing.T) {
require.Eventually(t, func() bool {
return bp.batcher.(*singleShardBatcher).batcher.sem.TryAcquire(int64(cfg.MaxInFlightBytes))
}, 5 * time.Second, 10 * time.Millisecond)
require.NoError(t, batcher.Shutdown(context.Background()))
}

func TestBatchProcessorSpansDelivered(t *testing.T) {
Expand Down

0 comments on commit cd894e1

Please sign in to comment.