Skip to content

Commit

Permalink
tests: make e2e TestBasicSuspension less flaky (#5995)
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy authored May 9, 2024
1 parent 53a58cc commit c7d281e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e-go/features/incentives/suspension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ func TestBasicSuspension(t *testing.T) {
fixture.SendMoneyAndWait(afterStop.LastRound+suspend20, 5, 1000, richAccount.Address, account10.Address, "")
fixture.SendMoneyAndWait(afterStop.LastRound+suspend20, 5, 1000, richAccount.Address, account20.Address, "")

// make sure c10 node is in-sync with the network
status, err := fixture.LibGoalClient.Status()
a.NoError(err)
_, err = c10.WaitForRound(status.LastRound)
a.NoError(err)

// n20's account is now offline, but has voting key material (suspended)
account, err = c10.AccountData(account20.Address)
a.NoError(err)
Expand Down

0 comments on commit c7d281e

Please sign in to comment.