forked from quic-go/quic-go
add QUIC 37 to supported versions
fixes #375 Chrome tests are disabled for QUIC 37, since the Chrome version in the docker image doesn’t support this version yet.
This commit is contained in:
@@ -45,12 +45,7 @@ func init() {
|
||||
var _ = Describe("Chrome tests", func() {
|
||||
It("does not work with mismatching versions", func() {
|
||||
versionForUs := protocol.SupportedVersions[0]
|
||||
versionForChrome := protocol.SupportedVersions[len(protocol.SupportedVersions)-1]
|
||||
|
||||
// If both are equal, this test doesn't make any sense.
|
||||
if versionForChrome == versionForUs {
|
||||
return
|
||||
}
|
||||
versionForChrome := protocol.SupportedVersions[1]
|
||||
|
||||
supportedVersionsBefore := protocol.SupportedVersions
|
||||
protocol.SupportedVersions = []protocol.VersionNumber{versionForUs}
|
||||
@@ -78,6 +73,9 @@ var _ = Describe("Chrome tests", func() {
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
if version == protocol.Version37 {
|
||||
Skip("Skipping Chrome test with QUIC version 37")
|
||||
}
|
||||
supportedVersionsBefore = protocol.SupportedVersions
|
||||
protocol.SupportedVersions = []protocol.VersionNumber{version}
|
||||
wd = getWebdriverForVersion(version)
|
||||
|
||||
Reference in New Issue
Block a user