Skip to content

Commit

Permalink
Try to make test not flaky
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Murzin <[email protected]>
  • Loading branch information
dima74 committed Jun 6, 2024
1 parent 890e7de commit 26eb6a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/tests/integration/upgrade.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::{path::Path, str::FromStr as _};
use std::time::Duration;

use eyre::Result;
use futures_util::TryStreamExt as _;
Expand Down Expand Up @@ -251,6 +252,10 @@ fn executor_custom_instructions_complex() -> Result<()> {
// But it will be needed after NewParameter removal in #4597
config.chain_wide.executor_runtime.fuel_limit = 1_000_000_000;

// This is attempt to make test not flaky (it passes locally but fails on CI)
config.network.idle_timeout = Duration::from_secs(3600);
config.live_query_store.idle_time = Duration::from_secs(3600);

let (_rt, _peer, client) = PeerBuilder::new()
.with_port(11_185)
.with_config(config)
Expand Down

0 comments on commit 26eb6a9

Please sign in to comment.