Merge PR #3550: Speed up CLI tests
This commit is contained in:
parent
dff6d0e462
commit
6a66796b71
|
@ -532,10 +532,13 @@ func TestGaiaCLIQueryTxPagination(t *testing.T) {
|
|||
fooAddr := f.KeyAddress(keyFoo)
|
||||
barAddr := f.KeyAddress(keyBar)
|
||||
|
||||
accFoo := f.QueryAccount(fooAddr)
|
||||
seq := accFoo.GetSequence()
|
||||
|
||||
for i := 1; i <= 30; i++ {
|
||||
success, _, _ := f.TxSend(keyFoo, barAddr, sdk.NewInt64Coin(fooDenom, int64(i)))
|
||||
success, _, _ := f.TxSend(keyFoo, barAddr, sdk.NewInt64Coin(fooDenom, int64(i)), fmt.Sprintf("--sequence=%d", seq))
|
||||
require.True(t, success)
|
||||
tests.WaitForNextNBlocksTM(1, f.Port)
|
||||
seq++
|
||||
}
|
||||
|
||||
// perPage = 15, 2 pages
|
||||
|
|
Loading…
Reference in New Issue