mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-01 00:23:48 +03:00
proxy: Disable QUIC test outside CI environment (see #1782)
This commit is contained in:
parent
54c65cb025
commit
c06941ed52
1 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue