Use prefered API function.

This commit is contained in:
Julien Laffaye 2015-08-18 19:03:26 +02:00
parent 3e21d70d53
commit 0ae5d598fa

View File

@ -146,7 +146,7 @@ func TestConnIPv6(t *testing.T) {
t.Skip("skipping test in short mode.") 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 { if err != nil {
t.Fatal(err) t.Fatal(err)
} }