tools/tm-bench: bounds check for txSize and improving test cases (#2410)

Fixes #2409
This commit is contained in:
zhangzheng
2018-09-17 17:08:47 +08:00
committed by Anton Kaliaev
parent e3e3c13741
commit c6c0b52d0c
2 changed files with 10 additions and 2 deletions

View File

@ -22,7 +22,7 @@ func TestGenerateTxUpdateTxConsistentency(t *testing.T) {
hostname string
numTxsToTest int
}{
{0, 0, 50, "localhost:26657", 1000},
{0, 0, 40, "localhost:26657", 1000},
{70, 300, 10000, "localhost:26657", 1000},
{0, 50, 100000, "localhost:26657", 1000},
}