Skip to content

Commit

Permalink
Merge pull request #684 from CosmWasm/659-benchmarks
Browse files Browse the repository at this point in the history
Fix flickering benchmark tests
  • Loading branch information
ethanfrey authored Nov 25, 2021
2 parents 1da2078 + cb7497c commit 3580520
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 3580520

Please sign in to comment.