From 546d30d6562484440b14499ad7229e5ee1f6839e Mon Sep 17 00:00:00 2001 From: Jk Xu <54522439+Dousir9@users.noreply.github.com> Date: Mon, 13 Feb 2023 19:10:01 +0800 Subject: [PATCH] br: increase the sleep time in the `waitForSend` function (#41322) close pingcap/tidb#41210 --- br/pkg/restore/batcher_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/pkg/restore/batcher_test.go b/br/pkg/restore/batcher_test.go index 2c182cb0351cc..808b1868eed16 100644 --- a/br/pkg/restore/batcher_test.go +++ b/br/pkg/restore/batcher_test.go @@ -49,7 +49,7 @@ func (sender *drySender) Close() { } func waitForSend() { - time.Sleep(10 * time.Millisecond) + time.Sleep(50 * time.Millisecond) } func (sender *drySender) Ranges() []rtree.Range {