fix(ci): Increase peer cache startup wait time and test time (#7169)
* Increase peer cache test time * Wait longer for DNS responses before writing peers to disk
This commit is contained in:
parent
1014e3c785
commit
f6afec2be8
|
@ -25,7 +25,7 @@ pub async fn peer_cache_updater(
|
||||||
//
|
//
|
||||||
// TODO: turn the initial sleep time into a parameter of this function,
|
// TODO: turn the initial sleep time into a parameter of this function,
|
||||||
// and allow it to be set in tests
|
// and allow it to be set in tests
|
||||||
sleep(DNS_LOOKUP_TIMEOUT * 2).await;
|
sleep(DNS_LOOKUP_TIMEOUT * 4).await;
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
// Ignore errors because updating the cache is optional.
|
// Ignore errors because updating the cache is optional.
|
||||||
|
|
|
@ -39,7 +39,7 @@ pub const LAUNCH_DELAY: Duration = Duration::from_secs(15);
|
||||||
|
|
||||||
/// After we launch `zebrad`, wait this long in extended tests.
|
/// After we launch `zebrad`, wait this long in extended tests.
|
||||||
/// See [`LAUNCH_DELAY`] for details.
|
/// 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,
|
/// 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.
|
/// take the actions expected by the quick tests, and log the expected logs.
|
||||||
|
|
Loading…
Reference in New Issue