From ab023fe1aec3286ae4151a349e98a2ceb52fc994 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 19 Nov 2024 13:22:55 -0700 Subject: [PATCH] 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. --- .../integration-tests/src/test/end_to_end_webhook_batch.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/integration-tests/src/test/end_to_end_webhook_batch.rs b/crates/integration-tests/src/test/end_to_end_webhook_batch.rs index d66eb335..b7d23725 100644 --- a/crates/integration-tests/src/test/end_to_end_webhook_batch.rs +++ b/crates/integration-tests/src/test/end_to_end_webhook_batch.rs @@ -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?;