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

This commit is contained in:
GoEdgeLab
2020-10-20 16:45:03 +08:00
parent bf69a60913
commit 0992fcbee5
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")
}