mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-19 12:20:25 +08:00
优化测试用例
This commit is contained in:
@@ -4,9 +4,14 @@ package clock_test
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeNode/internal/utils/clock"
|
||||
"github.com/TeaOSLab/EdgeNode/internal/utils/testutils"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestReadServer(t *testing.T) {
|
||||
if !testutils.IsSingleTesting() {
|
||||
return
|
||||
}
|
||||
|
||||
t.Log(clock.NewClockManager().ReadServer("pool.ntp.org"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user