Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
deleteLater committed Apr 4, 2024
1 parent 93b9e24 commit 14f603a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public async Task ServerRejectConnection()
public async Task ServerDisconnectedAfterStable()
{
var options = new FbOptionsBuilder()
.ReconnectRetryDelays(new[] { TimeSpan.FromMilliseconds(200) })
.Build();
var store = new DefaultMemoryStore();

Expand Down
1 change: 1 addition & 0 deletions tests/FeatBit.ServerSdk.Tests/TestStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ await webSocket.CloseAsync(

if (token == "close-after-first-datasync")
{
await Task.Delay(100);
await webSocket.CloseOutputAsync(
WebSocketCloseStatus.EndpointUnavailable,
"server goes down",
Expand Down

0 comments on commit 14f603a

Please sign in to comment.