From bb9992d084407b0e07f210192025ff9881d7b918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=9F=E3=81=BE=E3=81=94=20=28chibiegg=29?= Date: Sat, 5 Oct 2019 10:37:06 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=90=E3=83=83=E3=82=AF=E3=82=B0=E3=83=A9?= =?UTF-8?q?=E3=82=A6=E3=83=B3=E3=83=89=E3=81=AE=E3=82=AD=E3=83=A3=E3=83=B3?= =?UTF-8?q?=E3=82=BB=E3=83=AB=E3=82=B3=E3=83=B3=E3=83=86=E3=82=AD=E3=82=B9?= =?UTF-8?q?=E3=83=88=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bench/cmd/bench/bench.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/cmd/bench/bench.go b/bench/cmd/bench/bench.go index 9994e3b..d591d61 100644 --- a/bench/cmd/bench/bench.go +++ b/bench/cmd/bench/bench.go @@ -178,7 +178,7 @@ var run = cli.Command{ benchCtx, cancel := context.WithTimeout(context.Background(), config.BenchmarkTimeout) defer cancel() - bgCtx, bgCancel := context.WithTimeout(ctx, 3*time.Second) + bgCtx, bgCancel := context.WithCancel(ctx) bgtester, err := newBgTester() if err != nil { dumpFailedResult(uniqueMsgs(bencherror.BenchmarkErrs.Msgs))