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

This commit is contained in:
GoEdgeLab
2023-04-26 10:50:29 +08:00
parent a7c98fc186
commit f17de1016a
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)