Commit dea36a6f authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

cmd/go: disable TestAccidentalGitCheckout for now

It seems it might not have ever worked.

Updates #22983

Change-Id: Icc022539aa2555486a65900abf97dfa30f92a1ea
Reviewed-on: https://go-review.googlesource.com/129615
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarAndrew Bonventre <andybons@golang.org>
parent a68b713e
...@@ -1293,6 +1293,7 @@ func TestGetGitDefaultBranch(t *testing.T) { ...@@ -1293,6 +1293,7 @@ func TestGetGitDefaultBranch(t *testing.T) {
func TestAccidentalGitCheckout(t *testing.T) { func TestAccidentalGitCheckout(t *testing.T) {
testenv.MustHaveExternalNetwork(t) testenv.MustHaveExternalNetwork(t)
testenv.SkipFlaky(t, 22983) // this test might not have ever worked; see issue.
if _, err := exec.LookPath("git"); err != nil { if _, err := exec.LookPath("git"); err != nil {
t.Skip("skipping because git binary not found") t.Skip("skipping because git binary not found")
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment