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:
Andrew Keesler 2021-03-12 09:54:59 -05:00
parent 87f2899047
commit 253e0f8e9a
No known key found for this signature in database
GPG Key ID: 27CE0444346F9413

View File

@ -696,7 +696,7 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl
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 {
defer func() {
require.NoError(t, r.Body.Close())