Merge pull request #684 from CosmWasm/659-benchmarks

Fix flickering benchmark tests
This commit is contained in:
Ethan Frey
2021-11-25 13:41:51 +01:00
committed by GitHub

View File

@@ -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)