Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Aug 29, 2024
1 parent 40a2e02 commit 8cd8825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pd-ctl/tests/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func (suite *configTestSuite) checkConfig(cluster *pdTests.TestCluster) {
re.Contains(string(output), "patrol-region-worker-count should be between 1 and 8")
re.Equal(8, svr.GetScheduleConfig().PatrolRegionWorkerCount)
args = []string{"-u", pdAddr, "config", "set", "patrol-region-worker-count", "0"}
_, err = tests.ExecuteCommand(cmd, args...)
output, err = tests.ExecuteCommand(cmd, args...)
re.NoError(err)
re.Contains(string(output), "patrol-region-worker-count should be between 1 and 8")
re.Equal(8, svr.GetScheduleConfig().PatrolRegionWorkerCount)
Expand Down

0 comments on commit 8cd8825

Please sign in to comment.