Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yujun777 committed Oct 23, 2024
1 parent 3e3f491 commit ff46198
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,12 +526,12 @@ class SuiteCluster {

// if not specific fe indices, then start all frontends
void startFrontends(int... indices) {
runFrontendsCmd(START_WAIT_TIMEOUT + 5, "start --wait-timeout ${START_WAIT_TIMEOUT}", indices)
runFrontendsCmd(START_WAIT_TIMEOUT + 5, "start --wait-timeout ${START_WAIT_TIMEOUT}".toString(), indices)
}

// if not specific be indices, then start all backends
void startBackends(int... indices) {
runBackendsCmd(START_WAIT_TIMEOUT + 5, "start --wait-timeout ${START_WAIT_TIMEOUT}", indices)
runBackendsCmd(START_WAIT_TIMEOUT + 5, "start --wait-timeout ${START_WAIT_TIMEOUT}".toString(), indices)
}

// if not specific fe indices, then stop all frontends
Expand All @@ -548,12 +548,12 @@ class SuiteCluster {

// if not specific fe indices, then restart all frontends
void restartFrontends(int... indices) {
runFrontendsCmd(START_WAIT_TIMEOUT + 5, "restart --wait-timeout ${START_WAIT_TIMEOUT}", indices)
runFrontendsCmd(START_WAIT_TIMEOUT + 5, "restart --wait-timeout ${START_WAIT_TIMEOUT}".toString(), indices)
}

// if not specific be indices, then restart all backends
void restartBackends(int... indices) {
runBackendsCmd(START_WAIT_TIMEOUT + 5, "restart --wait-timeout ${START_WAIT_TIMEOUT}", indices)
runBackendsCmd(START_WAIT_TIMEOUT + 5, "restart --wait-timeout ${START_WAIT_TIMEOUT}".toString(), indices)
}

// if not specific fe indices, then drop all frontends
Expand Down

0 comments on commit ff46198

Please sign in to comment.