Fix flakiness for 'WithMaxMessagesPerPayload' test
Fix flakiness for 'WithMaxMessagesPerPayload' test

The flush timeout of the buffer might come before the we have more messages than MaxMessagesPerPayload

DataDog/datadog-go