Skip to content

Commit 91c3681

Browse files
committed
test name
1 parent 3b66b49 commit 91c3681

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public async Task CanSendAndReceieveData()
106106
}
107107

108108
[ConditionalFact]
109-
public async Task Compression()
109+
public async Task AttemptCompressionWorks()
110110
{
111111
var webSocketUri = Fixture.DeploymentResult.ApplicationBaseUri;
112112
webSocketUri = webSocketUri.Replace("http:", "ws:");
@@ -115,7 +115,9 @@ public async Task Compression()
115115
cws.Options.DangerousDeflateOptions = new WebSocketDeflateOptions();
116116
await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketAllowCompression"), default);
117117

118-
var expected = Fixture.DeploymentParameters.HostingModel == HostingModel.InProcess ? "permessage-deflate; client_max_window_bits=15" : "None";
118+
// Compression doesn't work with OutOfProcess, let's make sure the websocket extensions aren't forwarded and the connection still works
119+
var expected = Fixture.DeploymentParameters.HostingModel == HostingModel.InProcess
120+
? "permessage-deflate; client_max_window_bits=15" : "None";
119121
await ReceiveMessage(cws, expected);
120122

121123
for (int i = 0; i < 1000; i++)

0 commit comments

Comments
 (0)