test/integration: TestImpersonationProxy/websocket_client passes on my machine now
I'm kinda surprised this is working with our current implementation of the impersonator, but regardless this seems like a step forward. Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
87f2899047
commit
253e0f8e9a
@ -696,7 +696,7 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl
|
|||||||
return proxyURL, nil
|
return proxyURL, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
c, r, err := dialer.Dial(dest.String(), nil)
|
c, r, err := dialer.Dial(dest.String(), http.Header{"Origin": {dest.String()}})
|
||||||
if r != nil {
|
if r != nil {
|
||||||
defer func() {
|
defer func() {
|
||||||
require.NoError(t, r.Body.Close())
|
require.NoError(t, r.Body.Close())
|
||||||
|
Loading…
Reference in New Issue
Block a user