配置变更的时候自动同步,不再需要手工点击同步

This commit is contained in:
刘祥超
2020-11-18 10:07:29 +08:00
parent c637cb7bf6
commit 850d343809
10 changed files with 134 additions and 44 deletions

View File

@@ -0,0 +1,12 @@
package tasks
import "testing"
func TestSyncClusterTask_loop(t *testing.T) {
task := NewSyncClusterTask()
err := task.loop()
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}