Skip to content

Commit

Permalink
Better error testing. (algorand#2025)
Browse files Browse the repository at this point in the history
Improve TestCompactCerts e2e test error handling.
  • Loading branch information
tsachiherman authored Mar 29, 2021
1 parent b3456a4 commit ec86cb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e-go/features/compactcert/compactcert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ func TestCompactCerts(t *testing.T) {
_, err = node0Client.SendPaymentFromUnencryptedWallet(node0Account, node1Account, minTxnFee, rnd, nil)
r.NoError(err)

fixture.WaitForRound(rnd, 30*time.Second)
err = fixture.WaitForRound(rnd, 30*time.Second)
r.NoError(err)

blk, err := libgoal.Block(rnd)
r.NoErrorf(err, "failed to retrieve block from algod on round %d", rnd)

Expand Down

0 comments on commit ec86cb4

Please sign in to comment.