增加健康检查定时任务/健康检查可以发送消息

This commit is contained in:
刘祥超
2020-10-20 16:45:03 +08:00
parent fd8ee5b926
commit 5c407f5d92
17 changed files with 555 additions and 20 deletions

View File

@@ -0,0 +1,12 @@
package tasks
import "testing"
func TestNodeLogCleaner_loop(t *testing.T) {
cleaner := &NodeLogCleanerTask{}
err := cleaner.loop()
if err != nil {
t.Fatal(err)
}
t.Log("OK")
}