File dash-core-increase-timeouts.patch of Package dash-core

From 1d59ab10c03a331c26a6b9201a729f26484d2dde Mon Sep 17 00:00:00 2001
From: Oleg Girko <ol@infoserver.lv>
Date: Tue, 29 Oct 2024 16:44:21 +0000
Subject: [PATCH] Increase timeouts in some functional tests.

This change increases timeouts in tests of whether governance checks
can be skipped for blocks covered by the best chainlock.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
---
 test/functional/feature_governance_cl.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/functional/feature_governance_cl.py b/test/functional/feature_governance_cl.py
index 2e1f9c31e0..f1649cb1ae 100755
--- a/test/functional/feature_governance_cl.py
+++ b/test/functional/feature_governance_cl.py
@@ -89,7 +89,7 @@ class DashGovernanceTest (DashTestFramework):
 
         self.nodes[0].generate(6)
         self.bump_mocktime(6 * 156)
-        self.sync_blocks()
+        self.sync_blocks(timeout=180)
 
         assert_equal(len(self.nodes[0].gobject("list-prepared")), 2)
         assert_equal(len(self.nodes[0].gobject("list")), 0)
@@ -123,7 +123,7 @@ class DashGovernanceTest (DashTestFramework):
 
         self.log.info("Wait for new trigger and votes on non-isolated nodes")
         sb_block_height = self.nodes[0].getblockcount() + 1
-        self.wait_until(lambda: self.have_trigger_for_height(sb_block_height, self.nodes[0:5]), timeout=5)
+        self.wait_until(lambda: self.have_trigger_for_height(sb_block_height, self.nodes[0:5]), timeout=15)
         # Mine superblock
         self.nodes[0].generate(1)
         self.bump_mocktime(156)
@@ -137,7 +137,7 @@ class DashGovernanceTest (DashTestFramework):
         force_finish_mnsync(self.nodes[5])
         self.nodes[0].generate(1)
         self.bump_mocktime(156)
-        self.sync_blocks()
+        self.sync_blocks(timeout=180)
 
 
 if __name__ == '__main__':
-- 
2.47.0