Files
EdgeAPI/internal/tasks/dns_task_executor_test.go

18 lines
242 B
Go
Raw Normal View History

2021-01-27 23:00:02 +08:00
package tasks
import (
"github.com/iwind/TeaGo/dbs"
"testing"
)
func TestDNSTaskExecutor_Loop(t *testing.T) {
dbs.NotifyReady()
executor := NewDNSTaskExecutor()
err := executor.Loop()
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}