ci: relax timing on webhook_batch test

This is occasionally flakey and I think we just need to give it a few
more seconds to accumulate the batch.
This commit is contained in:
Wez Furlong
2024-11-19 13:22:55 -07:00
parent d021bf0dc9
commit ab023fe1ae
@@ -13,7 +13,7 @@ async fn end_to_end_with_webhook_batch() -> anyhow::Result<()> {
let mut daemon = DaemonWithMaildirAndWebHook::start_batched(BatchParams {
max_batch_size: 100,
min_batch_size: batch_size,
max_batch_latency: 10,
max_batch_latency: 15,
})
.await?;
@@ -34,11 +34,11 @@ async fn end_to_end_with_webhook_batch() -> anyhow::Result<()> {
daemon
.with_maildir
.wait_for_maildir_count(batch_size, Duration::from_secs(10))
.wait_for_maildir_count(batch_size, Duration::from_secs(30))
.await;
daemon
.wait_for_webhook_record_count(2 * batch_size, Duration::from_secs(10))
.wait_for_webhook_record_count(2 * batch_size, Duration::from_secs(30))
.await;
daemon.stop().await?;