From 8d0ec9fbcec3ff0522bca8fa25ae2c86d4c79c2d Mon Sep 17 00:00:00 2001 From: ClaytonNorthey92 Date: Wed, 23 Oct 2024 19:25:14 -0400 Subject: [PATCH] increase retry timeout, decrease initial wait, generate 3000 initial blocks --- e2e/docker-compose.yml | 2 +- e2e/monitor/main_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/docker-compose.yml b/e2e/docker-compose.yml index 587bb8e19..ff45fdb70 100644 --- a/e2e/docker-compose.yml +++ b/e2e/docker-compose.yml @@ -33,7 +33,7 @@ services: - "-rpcport=18443" - "-rpcconnect=bitcoind" - "generatetoaddress" - - "1000" # need to generate a lot for greater chance to not spend coinbase + - "3000" # need to generate a lot for greater chance to not spend coinbase - "$BTC_ADDRESS" restart: on-failure diff --git a/e2e/monitor/main_test.go b/e2e/monitor/main_test.go index b03ef7af3..c84575614 100644 --- a/e2e/monitor/main_test.go +++ b/e2e/monitor/main_test.go @@ -17,7 +17,7 @@ import ( // after 5 minutes and check that it has progressed at least to a certain // point func TestMonitor(t *testing.T) { - ms := (1000 * 60 * 5) + 25*1000 // dump after 5 minutes + 25 seconds for cushion (1 keystone) + ms := (1000 * 60 * 5) // dump after 5 minutes output := monitor(uint(ms)) t.Log(output) @@ -28,7 +28,7 @@ func TestMonitor(t *testing.T) { } var lastErr error - const retryTimeoutSeconds = 25 + const retryTimeoutSeconds = 60 const maxRetries = 5 for i := range maxRetries {