From 3475fe5ed71401f0e05fbdb8484393ff364ae9c0 Mon Sep 17 00:00:00 2001 From: Hu# Date: Tue, 9 Apr 2024 19:43:51 +0800 Subject: [PATCH] tests/tso: make TestPrimaryPriorityChange stable (#8045) ref tikv/pd#7969 Signed-off-by: husharp --- pkg/tso/keyspace_group_manager_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tso/keyspace_group_manager_test.go b/pkg/tso/keyspace_group_manager_test.go index 9fe6da6edc9..ad67c49fa5e 100644 --- a/pkg/tso/keyspace_group_manager_test.go +++ b/pkg/tso/keyspace_group_manager_test.go @@ -1212,5 +1212,5 @@ func waitForPrimariesServing( } } return true - }, testutil.WithWaitFor(5*time.Second), testutil.WithTickInterval(50*time.Millisecond)) + }, testutil.WithWaitFor(10*time.Second), testutil.WithTickInterval(50*time.Millisecond)) }