forked from quic-go/quic-go
fix host resolver rule in Chrome integration test
This was the reason the Chrome integration tests have been failing recently.
This commit is contained in:
@@ -139,7 +139,7 @@ func chromeTestImpl(version protocol.VersionNumber, url string, blockUntilDone f
|
|||||||
"--enable-quic=true",
|
"--enable-quic=true",
|
||||||
"--no-proxy-server=true",
|
"--no-proxy-server=true",
|
||||||
"--origin-to-force-quic-on=quic.clemente.io:443",
|
"--origin-to-force-quic-on=quic.clemente.io:443",
|
||||||
fmt.Sprintf(`--host-resolver-rules=MAP quic.clemente.io:443 localhost:%s`, testserver.Port()),
|
fmt.Sprintf(`--host-resolver-rules=MAP quic.clemente.io:443 127.0.0.1:%s`, testserver.Port()),
|
||||||
fmt.Sprintf("--quic-version=QUIC_VERSION_%s", version.ToAltSvc()),
|
fmt.Sprintf("--quic-version=QUIC_VERSION_%s", version.ToAltSvc()),
|
||||||
url,
|
url,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user