Skip to content

Commit

Permalink
Increasing signing attempts to perform all signing computations
Browse files Browse the repository at this point in the history
It turns out that the current number attempts is not enough and we need
to bump it up so the integration tests computation have enough time to
perform signing. The reason why they started failing is because local
chain has block times much shorter than the real ones. This will give
much shorter timeouts to perform all the signning computation.
  • Loading branch information
dimpar committed Sep 12, 2023
1 parent 7157a33 commit ccf220f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tbtc/signing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func setupSigningExecutor(t *testing.T) *signingExecutor {

// Test block counter is much quicker than the real world one.
// Set more attempts to give more time for computations.
executor.signingAttemptsLimit *= 3
executor.signingAttemptsLimit *= 5

return executor
}

0 comments on commit ccf220f

Please sign in to comment.