From 4edbc084ec009fe8935e0c17bdec83437533d93a Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Fri, 8 Dec 2023 08:48:53 +0100 Subject: [PATCH] test: increase wait time for royalty transfers --- sn_node/tests/nodes_rewards.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sn_node/tests/nodes_rewards.rs b/sn_node/tests/nodes_rewards.rs index a67dbfe8e3..5ce6620ca2 100644 --- a/sn_node/tests/nodes_rewards.rs +++ b/sn_node/tests/nodes_rewards.rs @@ -318,7 +318,7 @@ async fn spawn_royalties_payment_listener( // if expected royalties is 0 or 1 we'll wait for 20s as a minimum, // otherwise we'll wait for 10s per expected royalty - let secs = std::cmp::max(40, expected_royalties as u64 * 10); + let secs = std::cmp::max(40, expected_royalties as u64 * 15); let duration = Duration::from_secs(secs); println!("Awaiting transfers notifs for {duration:?}..."); @@ -373,7 +373,7 @@ async fn spawn_royalties_payment_client_listener( // if expected royalties is 0 or 1 we'll wait for 20s as a minimum, // otherwise we'll wait for 10s per expected royalty - let secs = std::cmp::max(40, expected_royalties as u64 * 10); + let secs = std::cmp::max(40, expected_royalties as u64 * 15); let duration = Duration::from_secs(secs); tracing::info!("Awaiting transfers notifs for {duration:?}..."); println!("Awaiting transfers notifs for {duration:?}...");