Skip to content

Commit

Permalink
increase retry timeout, decrease initial wait, generate 3000 initial …
Browse files Browse the repository at this point in the history
…blocks
  • Loading branch information
ClaytonNorthey92 committed Oct 23, 2024
1 parent 69e36d3 commit 8d0ec9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions e2e/monitor/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 {
Expand Down

0 comments on commit 8d0ec9f

Please sign in to comment.