Skip to content

Commit

Permalink
Fix flickering benchmark tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Nov 25, 2021
1 parent 1da2078 commit cb7497c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cb7497c

Please sign in to comment.