Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestSPWithCounterReset make it more tolerant #4366

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
give even more time. still failing on arm
  • Loading branch information
algonautshant committed Aug 7, 2022
commit 1e830ee979893b9b6036dee9a8554ec10c2d2340
4 changes: 2 additions & 2 deletions test/e2e-go/features/stateproofs/stateproofs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ func TestSPWithCounterReset(t *testing.T) {
// Check that the first 2 stateproofs are added to the blockchain
round := uint64(0)
expectedSPRound := consensusParams.StateProofInterval * 2
for round < consensusParams.StateProofInterval*6 {
for round < consensusParams.StateProofInterval*10 {
round = params.LastRound

err := fixture.WaitForRound(round+1, 6*time.Second)
Expand Down Expand Up @@ -1023,7 +1023,7 @@ func TestSPWithCounterReset(t *testing.T) {
}
}
// If waited till round 20 and did not yet get the stateproof with last round 12, fail the test
require.Less(t, round, consensusParams.StateProofInterval*6)
require.Less(t, round, consensusParams.StateProofInterval*10)
}

func getWellformedSPTransaction(round uint64, genesisHash crypto.Digest, consensusParams config.ConsensusParams, t *testing.T) (stxn transactions.SignedTxn) {
Expand Down