From 3eaa873426f0ec46d0c5e48803f02fe7d02cf4bb Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 3 Aug 2024 00:04:54 +0800 Subject: [PATCH] chore: Fix ftpCheck() test by changing the FTP test site --- monitor/monitor_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor/monitor_test.go b/monitor/monitor_test.go index 1a8b35d..9fc5ff1 100644 --- a/monitor/monitor_test.go +++ b/monitor/monitor_test.go @@ -65,8 +65,8 @@ func TestHttpCheck(t *testing.T) { func TestFtpCheck(t *testing.T) { var ok_urls = []string{ - "ftp://ftp.sjtu.edu.cn/", - "ftp://ftp.sjtu.edu.cn/pub/software/", + "ftp://ftp.freebsd.org/", + "ftp://ftp.freebsd.org/pub/FreeBSD/", } for _, utext := range ok_urls { u, _ := url.Parse(utext)