From 494677e65383e17292ddeb212532c5f264116ec0 Mon Sep 17 00:00:00 2001 From: tpp Date: Thu, 26 Feb 2026 07:14:50 -0800 Subject: [PATCH] planner: flaky test TestBatchDropBindings --- pkg/bindinfo/tests/bind_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/bindinfo/tests/bind_test.go b/pkg/bindinfo/tests/bind_test.go index 3fcb29590ccae..1a103a1a8541d 100644 --- a/pkg/bindinfo/tests/bind_test.go +++ b/pkg/bindinfo/tests/bind_test.go @@ -1117,6 +1117,11 @@ func TestFuzzyBindingHintsWithSourceReturning(t *testing.T) { } func TestBatchDropBindings(t *testing.T) { + originLease := bindinfo.Lease + bindinfo.Lease = 0 + defer func() { + bindinfo.Lease = originLease + }() store := testkit.CreateMockStore(t) tk := testkit.NewTestKit(t, store) tk.MustExec(`use test`)