Skip to content

Commit

Permalink
Ignore pings on sendsCloseMessageOnStop (#49067)
Browse files Browse the repository at this point in the history
* Ignore pings on sendsCloseMessageOnStop

* Remove disabled attribute.
  • Loading branch information
mitchdenny authored Jun 29, 2023
1 parent f0be130 commit c7b4724
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4025,10 +4025,9 @@ public void WebsocketStopLoggedOnce() {
}

// https://github.com/dotnet/aspnetcore/issues/49043
@Disabled
@Test
public void sendsCloseMessageOnStop() throws InterruptedException {
MockTransport mockTransport = new MockTransport(true, false);
MockTransport mockTransport = new MockTransport(true, true);
HubConnection hubConnection = TestUtils.createHubConnection("http://example.com", mockTransport);

hubConnection.start().timeout(30, TimeUnit.SECONDS).blockingAwait();
Expand Down

0 comments on commit c7b4724

Please sign in to comment.