Skip to content

Commit 6a66796

Browse files
jackzampolincwgoes
authored andcommitted
Merge PR #3550: Speed up CLI tests
1 parent dff6d0e commit 6a66796

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cmd/gaia/cli_test/cli_test.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,10 +532,13 @@ func TestGaiaCLIQueryTxPagination(t *testing.T) {
532532
fooAddr := f.KeyAddress(keyFoo)
533533
barAddr := f.KeyAddress(keyBar)
534534

535+
accFoo := f.QueryAccount(fooAddr)
536+
seq := accFoo.GetSequence()
537+
535538
for i := 1; i <= 30; i++ {
536-
success, _, _ := f.TxSend(keyFoo, barAddr, sdk.NewInt64Coin(fooDenom, int64(i)))
539+
success, _, _ := f.TxSend(keyFoo, barAddr, sdk.NewInt64Coin(fooDenom, int64(i)), fmt.Sprintf("--sequence=%d", seq))
537540
require.True(t, success)
538-
tests.WaitForNextNBlocksTM(1, f.Port)
541+
seq++
539542
}
540543

541544
// perPage = 15, 2 pages

0 commit comments

Comments
 (0)