This commit is contained in:
Stef Heyenrath
2026-03-06 19:22:46 +01:00
parent f83b4bd264
commit 07d3c6ad51

View File

@@ -796,7 +796,7 @@ public class WebSocketIntegrationTests(ITestOutputHelper output, ITestContextAcc
var proxyUri = new Uri($"{sut.Url}/ws/proxy");
await client.ConnectAsync(proxyUri, _ct);
await Task.Delay(250, _ct);
await Task.Delay(500, _ct);
var testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
@@ -805,7 +805,7 @@ public class WebSocketIntegrationTests(ITestOutputHelper output, ITestContextAcc
var receivedData = await client.ReceiveAsBytesAsync(cancellationToken: _ct);
await Task.Delay(250, _ct);
await Task.Delay(500, _ct);
// Assert
receivedData.Should().BeEquivalentTo(testData, "binary data should be proxied and echoed back");