mirror of https://github.com/certusone/wasmd.git
Fix flickering benchmark tests
This commit is contained in:
parent
1da2078229
commit
cb7497c530
|
@ -91,6 +91,7 @@ func BenchmarkTxSending(b *testing.B) {
|
|||
for name, tc := range cases {
|
||||
b.Run(name, func(b *testing.B) {
|
||||
db := tc.db(b)
|
||||
defer db.Close()
|
||||
appInfo := InitializeWasmApp(b, db, tc.numAccounts)
|
||||
txs := tc.txBuilder(b, &appInfo)
|
||||
|
||||
|
|
Loading…
Reference in New Issue