Skip to content

Commit 542fc10

Browse files
committed
cmd/golangorg/testdata: comment out playground snippet tests
These tests are causing the go.dev deployment to fail due to golang/go#65081. Change-Id: I3585079098064680ef1a65494e7bc7c272956fa8 Reviewed-on: https://go-review.googlesource.com/c/website/+/556096 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Auto-Submit: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent d1f7a06 commit 542fc10

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

cmd/golangorg/testdata/live.txt

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,24 @@ postquery
4747
body=package main; import ("fmt"; "time"); func main() {fmt.Print("A"); time.Sleep(time.Second); fmt.Print("B")}
4848
body == {"Errors":"","Events":[{"Message":"A","Kind":"stdout","Delay":0},{"Message":"B","Kind":"stdout","Delay":1000000000}],"VetErrors":""}
4949

50-
POST https://golang.org/share
51-
postbody
52-
package main
53-
body !contains UA-
50+
# Assertions below are commented out due to
51+
# golang/go#65081: snippets fail due to a GCP bug.
5452

55-
POST https://go.dev/_/share
56-
postbody
57-
package main
58-
body !contains UA-
53+
# POST https://golang.org/share
54+
# postbody
55+
# package main
56+
# body !contains UA-
57+
58+
# POST https://go.dev/_/share
59+
# postbody
60+
# package main
61+
# body !contains UA-
5962

60-
GET https://go.dev/play/p/MAohLsrz7JQ.go
61-
header Content-Type == text/plain; charset=utf-8
62-
body !contains The Go Playground
63-
body !contains About the Playground
64-
body contains Hello, 世界
63+
# GET https://go.dev/play/p/MAohLsrz7JQ.go
64+
# header Content-Type == text/plain; charset=utf-8
65+
# body !contains The Go Playground
66+
# body !contains About the Playground
67+
# body contains Hello, 世界
6568

6669
GET https://go.dev/wiki/Comments
6770
body contains Go Wiki: Comments

0 commit comments

Comments
 (0)