From 9a49b7133148d6ab1ad18e51402c46a3b66124ed Mon Sep 17 00:00:00 2001 From: Akira Hayakawa Date: Fri, 24 May 2024 00:48:17 +0000 Subject: [PATCH] test: fetch_and to try bit longer --- tests/testapp/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testapp/src/lib.rs b/tests/testapp/src/lib.rs index 3aadf6a9..c4b6fdf4 100644 --- a/tests/testapp/src/lib.rs +++ b/tests/testapp/src/lib.rs @@ -75,11 +75,11 @@ impl Client { use tokio_retry::strategy::{jitter, ExponentialBackoff}; use tokio_retry::Retry; - // 200ms, 400, 800 + // 200ms, 400, 800, 1600, 3200 let strategy = ExponentialBackoff::from_millis(2) .factor(100) .map(jitter) - .take(3); + .take(5); let fut = Retry::spawn(strategy, || { let mut cli = self.cli.clone();