Skip to content

Commit

Permalink
unify test
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Sep 29, 2024
1 parent 0848c39 commit 7116945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pd-ctl/tests/scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ func (suite *schedulerTestSuite) checkGrantHotRegionScheduler(cluster *pdTests.T
expected3["store-leader-id"] = float64(3)
testutil.Eventually(re, func() bool {
mustExec(re, cmd, []string{"-u", pdAddr, "scheduler", "config", "grant-hot-region-scheduler"}, &conf3)
return reflect.DeepEqual(expected3, conf3)
return compareGrantHotRegionSchedulerConfig(expected3, conf3)
})

// case 5: remove grant-hot-region-scheduler
Expand Down

0 comments on commit 7116945

Please sign in to comment.