From c82ad0324b8c7fac6eeab96b85c054091c35515b Mon Sep 17 00:00:00 2001 From: TonsnakeLin Date: Wed, 15 May 2024 05:23:42 -0400 Subject: [PATCH] update Signed-off-by: TonsnakeLin --- server/schedule/operator_controller_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/schedule/operator_controller_test.go b/server/schedule/operator_controller_test.go index bcd9f05357c..e3dbdc6f0c3 100644 --- a/server/schedule/operator_controller_test.go +++ b/server/schedule/operator_controller_test.go @@ -370,7 +370,7 @@ func (suite *operatorControllerTestSuite) TestPollDispatchRegion() { // issue #7992 func (suite *operatorControllerTestSuite) TestPollDispatchRegionForMergeRegion() { re := suite.Require() - opts := mockconfig.NewTestOptions() + opts := config.NewTestOptions() cluster := mockcluster.NewCluster(suite.ctx, opts) stream := hbstream.NewTestHeartbeatStreams(suite.ctx, cluster.ID, cluster, false /* no need to run */) controller := NewOperatorController(suite.ctx, cluster, stream) @@ -457,7 +457,7 @@ func (suite *operatorControllerTestSuite) TestPollDispatchRegionForMergeRegion() func (suite *operatorControllerTestSuite) TestCheckOperatorLightly() { re := suite.Require() - opts := mockconfig.NewTestOptions() + opts := config.NewTestOptions() cluster := mockcluster.NewCluster(suite.ctx, opts) stream := hbstream.NewTestHeartbeatStreams(suite.ctx, cluster.ID, cluster, false /* no need to run */) controller := NewOperatorController(suite.ctx, cluster, stream)