Files
EdgeNode/internal/utils/clock/manager_test.go

19 lines
406 B
Go
Raw Permalink Normal View History

2024-07-27 15:42:50 +08:00
// Copyright 2022 GoEdge goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cloud .
2022-09-15 15:59:29 +08:00
package clock_test
import (
2024-07-27 15:42:50 +08:00
"testing"
2022-09-25 14:26:46 +08:00
"github.com/TeaOSLab/EdgeNode/internal/utils/clock"
2024-01-21 11:13:30 +08:00
"github.com/TeaOSLab/EdgeNode/internal/utils/testutils"
2022-09-15 15:59:29 +08:00
)
func TestReadServer(t *testing.T) {
2024-01-21 11:13:30 +08:00
if !testutils.IsSingleTesting() {
return
}
2022-09-25 14:26:46 +08:00
t.Log(clock.NewClockManager().ReadServer("pool.ntp.org"))
2022-09-15 15:59:29 +08:00
}