mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
13 lines
179 B
Go
13 lines
179 B
Go
package tasks
|
|
|
|
import "testing"
|
|
|
|
func TestSyncClusterTask_loop(t *testing.T) {
|
|
task := NewSyncClusterTask()
|
|
err := task.loop()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log("ok")
|
|
}
|