集群健康检查可以同时检查单节点的多个IP

This commit is contained in:
刘祥超
2023-04-26 10:50:29 +08:00
parent 49ba1336cd
commit dc3594a08d
5 changed files with 70 additions and 26 deletions

View File

@@ -14,7 +14,7 @@ func TestHealthCheckExecutor_Run(t *testing.T) {
teaconst.IsPlus = true
dbs.NotifyReady()
executor := tasks.NewHealthCheckExecutor(35)
var executor = tasks.NewHealthCheckExecutor(42)
results, err := executor.Run()
if err != nil {
t.Fatal(err)