Update test to latest quic version

This commit is contained in:
Daniel Carrillo 2023-07-22 13:20:17 +02:00
parent a490d5f10e
commit 55e6cd4816
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16

View File

@ -119,7 +119,7 @@ func TestContainerIntegration(t *testing.T) {
resp, _ = client.Do(req) resp, _ = client.Do(req)
body, err = io.ReadAll(resp.Body) body, err = io.ReadAll(resp.Body)
if strings.Contains(tt.url, "https://") { if strings.Contains(tt.url, "https://") {
assert.Equal(t, `h3=":8001"; ma=2592000,h3-29=":8001"; ma=2592000`, resp.Header.Get("Alt-Svc")) assert.Equal(t, `h3=":8001"; ma=2592000`, resp.Header.Get("Alt-Svc"))
} }
} }
assert.NoError(t, err) assert.NoError(t, err)