mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-14 16:30:26 +08:00
集群健康检查可以同时检查单节点的多个IP
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user