Skip to content

Commit

Permalink
chore: Fix ftpCheck() test by changing the FTP test site
Browse files Browse the repository at this point in the history
  • Loading branch information
liweitianux committed Aug 2, 2024
1 parent 6394a04 commit 3eaa873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitor/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3eaa873

Please sign in to comment.