]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: use new HTTP-only server insecure.go-get-issue-15410.appspot.com instead...
authorRuss Cox <rsc@golang.org>
Thu, 3 Nov 2016 03:01:20 +0000 (23:01 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 3 Nov 2016 16:02:07 +0000 (16:02 +0000)
Fixes #15410.

Change-Id: I9964d0162a3cae690afeb889b1822cf79c80b89a
Reviewed-on: https://go-review.googlesource.com/32639
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/go/go_test.go

index 89916f371a85536ac3a1f055d16fe01f2c6eec73..a7712ed5a444b4dba8f314af782b89f8fd6b4a85 100644 (file)
@@ -2717,15 +2717,13 @@ func TestImportLocal(t *testing.T) {
 func TestGoGetInsecure(t *testing.T) {
        testenv.MustHaveExternalNetwork(t)
 
-       t.Skip("golang.org/issue/15410")
-
        tg := testgo(t)
        defer tg.cleanup()
        tg.makeTempdir()
        tg.setenv("GOPATH", tg.path("."))
        tg.failSSH()
 
-       const repo = "wh3rd.net/git.git"
+       const repo = "insecure.go-get-issue-15410.appspot.com/pkg/p"
 
        // Try go get -d of HTTP-only repo (should fail).
        tg.runFail("get", "-d", repo)
@@ -2769,7 +2767,7 @@ func TestGoGetInsecureCustomDomain(t *testing.T) {
        tg.makeTempdir()
        tg.setenv("GOPATH", tg.path("."))
 
-       const repo = "wh3rd.net/repo"
+       const repo = "insecure.go-get-issue-15410.appspot.com/pkg/p"
        tg.runFail("get", "-d", repo)
        tg.run("get", "-d", "-insecure", repo)
 }