From 78153a868a1ab2b9b6f400593d92113358a56284 Mon Sep 17 00:00:00 2001 From: asddongmen <414110582@qq.com> Date: Sun, 7 Nov 2021 08:31:31 +0800 Subject: [PATCH] batch_test:fix check error --- pkg/orchestrator/batch_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/orchestrator/batch_test.go b/pkg/orchestrator/batch_test.go index 7bdd78ec847..beb88e70629 100644 --- a/pkg/orchestrator/batch_test.go +++ b/pkg/orchestrator/batch_test.go @@ -76,6 +76,7 @@ func TestGetBatchResponse(t *testing.T) { }() ctx, cancel := context.WithTimeout(context.Background(), time.Minute*5) + defer cancel() tickCounter := 0 ticker := time.NewTicker(10 * time.Millisecond)