mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-16 05:59:59 +02:00
Compare commits
1 Commits
dependabot
...
Fix_WebSoc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3eca5d44ee |
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\src\WireMock.Net\WireMock.Net.csproj" />
|
<ProjectReference Include="..\..\src\WireMock.Net\WireMock.Net.csproj" />
|
||||||
<PackageReference Include="log4net" Version="3.3.0" />
|
<PackageReference Include="log4net" Version="2.0.15" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -811,10 +811,10 @@ public class WebSocketIntegrationTests(ITestOutputHelper output, ITestContextAcc
|
|||||||
// Act
|
// Act
|
||||||
await client.SendAsync(new ArraySegment<byte>(testData), WebSocketMessageType.Binary, true, _ct);
|
await client.SendAsync(new ArraySegment<byte>(testData), WebSocketMessageType.Binary, true, _ct);
|
||||||
|
|
||||||
var receivedData = await client.ReceiveAsBytesAsync(cancellationToken: _ct);
|
|
||||||
|
|
||||||
await Task.Delay(500, _ct);
|
await Task.Delay(500, _ct);
|
||||||
|
|
||||||
|
var receivedData = await client.ReceiveAsBytesAsync(cancellationToken: _ct);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
receivedData.Should().BeEquivalentTo(testData, "binary data should be proxied and echoed back");
|
receivedData.Should().BeEquivalentTo(testData, "binary data should be proxied and echoed back");
|
||||||
|
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Meziantou.Extensions.Logging.Xunit.v3" Version="1.1.24" />
|
<PackageReference Include="Meziantou.Extensions.Logging.Xunit.v3" Version="1.1.24" />
|
||||||
<PackageReference Include="Verify.XunitV3" Version="31.13.2" />
|
<PackageReference Include="Verify.XunitV3" Version="31.13.2" />
|
||||||
|
<PackageReference Include="xRetry.v3" Version="1.0.0-rc3" />
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
|||||||
Reference in New Issue
Block a user