diff --git a/zebra-network/src/peer_cache_updater.rs b/zebra-network/src/peer_cache_updater.rs index 64c160e8..c213b873 100644 --- a/zebra-network/src/peer_cache_updater.rs +++ b/zebra-network/src/peer_cache_updater.rs @@ -25,7 +25,7 @@ pub async fn peer_cache_updater( // // TODO: turn the initial sleep time into a parameter of this function, // and allow it to be set in tests - sleep(DNS_LOOKUP_TIMEOUT * 2).await; + sleep(DNS_LOOKUP_TIMEOUT * 4).await; loop { // Ignore errors because updating the cache is optional. diff --git a/zebrad/tests/common/launch.rs b/zebrad/tests/common/launch.rs index 8b8738b4..0ed4899b 100644 --- a/zebrad/tests/common/launch.rs +++ b/zebrad/tests/common/launch.rs @@ -39,7 +39,7 @@ pub const LAUNCH_DELAY: Duration = Duration::from_secs(15); /// After we launch `zebrad`, wait this long in extended tests. /// See [`LAUNCH_DELAY`] for details. -pub const EXTENDED_LAUNCH_DELAY: Duration = Duration::from_secs(25); +pub const EXTENDED_LAUNCH_DELAY: Duration = Duration::from_secs(45); /// After we launch `lightwalletd`, wait this long for the command to start up, /// take the actions expected by the quick tests, and log the expected logs.