diff --git a/lib/shelley/bench/restore-bench.hs b/lib/shelley/bench/restore-bench.hs index 4b29f4e086b..28fc87594a5 100644 --- a/lib/shelley/bench/restore-bench.hs +++ b/lib/shelley/bench/restore-bench.hs @@ -778,7 +778,7 @@ waitForNodeSync => Tracer IO (BenchmarkLog n) -> NetworkLayer IO Block -> IO SlotNo -waitForNodeSync tr nw = loop 480 -- allow 120 minutes for first tip +waitForNodeSync tr nw = loop 960 -- allow 240 minutes for first tip where loop :: Int -> IO SlotNo loop retries = do diff --git a/test/e2e/Rakefile b/test/e2e/Rakefile index 78a02817b7a..1d6c21b02c2 100644 --- a/test/e2e/Rakefile +++ b/test/e2e/Rakefile @@ -86,8 +86,8 @@ task :wait_until_node_synced do puts "\n >> Waiting for node to be synced" network = CardanoWallet.new.misc.network - # it seems that occasionally cardano-node needs more time to spin up - timeout = 7200 + # allow 180 mins for connecting to the node in case it needs to replay ledger + timeout = 10800 current_time = Time.now timeout_treshold = current_time + timeout puts "Timeout: #{timeout}s"