From c06941ed521e48ec23db42438b3e66a2e4bd90f2 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Mon, 11 Sep 2017 23:34:39 -0600 Subject: [PATCH] proxy: Disable QUIC test outside CI environment (see #1782) --- caddyhttp/proxy/proxy_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/caddyhttp/proxy/proxy_test.go b/caddyhttp/proxy/proxy_test.go index d82dbf38..3166e85f 100644 --- a/caddyhttp/proxy/proxy_test.go +++ b/caddyhttp/proxy/proxy_test.go @@ -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"