proxy: Disable QUIC test outside CI environment (see #1782)

This commit is contained in:
Matthew Holt 2017-09-11 23:34:39 -06:00
parent 54c65cb025
commit c06941ed52
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -1474,6 +1474,13 @@ func TestChunkedWebSocketReverseProxy(t *testing.T) {
}
func TestQuic(t *testing.T) {
if strings.ToLower(os.Getenv("CI")) != "true" {
// TODO. (#1782) This test requires configuring hosts
// file and updating the certificate in testdata. We
// should find a more robust way of testing this.
return
}
upstream := "quic.clemente.io:8086"
config := "proxy / quic://" + upstream
content := "Hello, client"