mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-08-25 23:07:32 +00:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user