summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohill <145173879+ohill@users.noreply.github.com>2023-12-07 11:05:17 -0500
committerGitHub <noreply@github.com>2023-12-07 11:05:17 -0500
commit4291e536b0aa94d6452f0d16e93395187d328e1f (patch)
tree110f45d210d227e64127b3f772231a39bd60877c
parentf48be99b1fb9949d98e5477e10c3380eb6fdef0a (diff)
tests: wait longer in TestTotalWeightChanges for larger nightly test network (#5841)
-rw-r--r--test/e2e-go/features/stateproofs/stateproofs_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/e2e-go/features/stateproofs/stateproofs_test.go b/test/e2e-go/features/stateproofs/stateproofs_test.go
index 4631ecd6e..287553acf 100644
--- a/test/e2e-go/features/stateproofs/stateproofs_test.go
+++ b/test/e2e-go/features/stateproofs/stateproofs_test.go
@@ -843,7 +843,11 @@ func TestTotalWeightChanges(t *testing.T) {
richNode.goOffline(a, &fixture, rnd)
}
- a.NoError(fixture.WaitForRound(rnd, 30*time.Second))
+ if testing.Short() {
+ a.NoError(fixture.WaitForRound(rnd, 30*time.Second))
+ } else {
+ a.NoError(fixture.WaitForRound(rnd, 60*time.Second))
+ }
blk, err := libgoal.BookkeepingBlock(rnd)
a.NoErrorf(err, "failed to retrieve block from algod on round %d", rnd)