Go v1.16 introduced module-aware commands by default. This version upgrade broke our http2 interop tests (see #25660). Setting the go environment variable `GO111MODULE` to "auto" makes go tools behave as they did before the v1.16 change, but will not be compatible with v1.17. This PR introduces a minimal go.mod file for the interop test to appease go v1.16. Docs on the flag: https://golang.org/ref/mod#mod-commands Recent discussion on golang/go: https://github.com/golang/go/issues/31997#issuecomment-782864390 |
||
|---|---|---|
| .. | ||
| README.md | ||
| doc.go | ||
| frame.go | ||
| frameheader.go | ||
| go.mod | ||
| goaway.go | ||
| http1frame.go | ||
| http2interop.go | ||
| http2interop_test.go | ||
| ping.go | ||
| s6.5.go | ||
| s6.5_test.go | ||
| settings.go | ||
| testsuite.go | ||
| unknownframe.go | ||
README.md
HTTP/2 Interop Tests
This is a suite of tests that check a server to see if it plays nicely with other HTTP/2 clients. To run, just type:
go test -spec :1234
Where ":1234" is the ip:port of a running server.