Skip to content

Commit 954ff15

Browse files
author
Bryan C. Mills
committed
cmd/go: skip the 'git' part of get_insecure_redirect in short mode
Invoking 'git' adds about 200ms to this test on a fast machine, probably more on a slow one. (As a general habit we skip the 'git' tests uniformly in short mode.) For #52545. Change-Id: Iea6d86a8c9c8b0f1fe51888faf7f5fe7dd8f1eb3 Reviewed-on: https://go-review.googlesource.com/c/go/+/488236 Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 42f558b commit 954ff15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmd/go/testdata/script/get_insecure_redirect.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ env GO111MODULE=off
88
! go get -d vcs-test.golang.org/insecure/go/insecure
99
stderr 'redirected .* to insecure URL'
1010

11+
[short] stop 'builds a git repo'
12+
1113
env GOINSECURE=vcs-test.golang.org/insecure/go/insecure
1214
go get -d vcs-test.golang.org/insecure/go/insecure

0 commit comments

Comments
 (0)