Skip to content

Commit

Permalink
Merge branch 'master' into region_panic
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot[bot] authored Sep 28, 2023
2 parents 8bd0469 + 3904a62 commit cd83ac0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ type PDServerConfig struct {
// RuntimeServices is the running extension services.
RuntimeServices typeutil.StringSlice `toml:"runtime-services" json:"runtime-services"`
// MetricStorage is the cluster metric storage.
// Currently we use prometheus as metric storage, we may use PD/TiKV as metric storage later.
// Currently, we use prometheus as metric storage, we may use PD/TiKV as metric storage later.
MetricStorage string `toml:"metric-storage" json:"metric-storage"`
// There are some values supported: "auto", "none", or a specific address, default: "auto"
DashboardAddress string `toml:"dashboard-address" json:"dashboard-address"`
Expand Down
3 changes: 2 additions & 1 deletion tests/dashboard/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ func (suite *dashboardTestSuite) checkRespCode(url string, code int) {
}

func waitForConfigSync() {
time.Sleep(time.Second)
// Need to wait dashboard service start.
time.Sleep(3 * time.Second)
}

func (suite *dashboardTestSuite) checkServiceIsStarted(internalProxy bool, servers map[string]*tests.TestServer, leader *tests.TestServer) string {
Expand Down

0 comments on commit cd83ac0

Please sign in to comment.