mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-21 15:36:55 +02:00
.
This commit is contained in:
@@ -750,6 +750,8 @@ public class WebSocketIntegrationTests(ITestOutputHelper output, ITestContextAcc
|
|||||||
{
|
{
|
||||||
await client.SendAsync(testMessage, cancellationToken: _ct);
|
await client.SendAsync(testMessage, cancellationToken: _ct);
|
||||||
|
|
||||||
|
await Task.Delay(250, _ct);
|
||||||
|
|
||||||
var received = await client.ReceiveAsTextAsync(cancellationToken: _ct);
|
var received = await client.ReceiveAsTextAsync(cancellationToken: _ct);
|
||||||
received.Should().Be(testMessage, $"message '{testMessage}' should be proxied and echoed back");
|
received.Should().Be(testMessage, $"message '{testMessage}' should be proxied and echoed back");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user