Use prefered API function.
This commit is contained in:
parent
3e21d70d53
commit
0ae5d598fa
@ -146,7 +146,7 @@ func TestConnIPv6(t *testing.T) {
|
||||
t.Skip("skipping test in short mode.")
|
||||
}
|
||||
|
||||
c, err := Connect("[2001:660:3302:282a:204:75ff:fe9f:9e11]:21")
|
||||
c, err := DialTimeout("[2001:660:3302:282a:204:75ff:fe9f:9e11]:21", 5*time.Second)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user