You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -58,7 +58,7 @@ public async Task WebSocketNamespacedPodExecAsync()
58
58
};
59
59
60
60
Assert.Equal(mockWebSocketBuilder.PublicWebSocket,webSocket);// Did the method return the correct web socket?
61
-
Assert.Equal(newUri("ws://localhost:80/api/v1/namespaces/mynamespace/pods/mypod/exec?command=%2Fbin%2Fbash&container=mycontainer&stderr=1&stdin=1&stdout=1&tty=1"),mockWebSocketBuilder.Uri);// Did we connect to the correct URL?
61
+
Assert.Equal(newUri("ws://localhost/api/v1/namespaces/mynamespace/pods/mypod/exec?command=%2Fbin%2Fbash&command=-c&command=echo%20Hello,%20World%0Aexit%200%0A&container=mycontainer&stderr=1&stdin=1&stdout=1&tty=1"),mockWebSocketBuilder.Uri);// Did we connect to the correct URL?
62
62
Assert.Empty(mockWebSocketBuilder.Certificates);// No certificates were used in this test
63
63
Assert.Equal(expectedHeaders,mockWebSocketBuilder.RequestHeaders);// Did we use the expected headers
0 commit comments