mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-21 07:41:39 +08:00
proxy: Disable QUIC test outside CI environment (see #1782)
This commit is contained in:
parent
54c65cb025
commit
c06941ed52
@ -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…
x
Reference in New Issue
Block a user