From cb7497c53060ae618b61b0779f794b53bb7f692c Mon Sep 17 00:00:00 2001 From: Alex Peters Date: Thu, 25 Nov 2021 10:17:04 +0100 Subject: [PATCH] Fix flickering benchmark tests --- benchmarks/bench_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmarks/bench_test.go b/benchmarks/bench_test.go index b8200d6e36..9001f1abf4 100644 --- a/benchmarks/bench_test.go +++ b/benchmarks/bench_test.go @@ -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)