test: Implement retries on the load generator
If the load generator is sending emails too fast, chasquid queue might hit the maximum size and fail the test. This patch makes it sleep and retry, to give the server some time to catch up. Thanks to Max Mazurov ([email protected]) for reporting this problem.
Showing with 12 additions and 0 deletions