Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky SignalR test: RequestTimeoutDisabledWhenConnected #59819

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BrennanConroy
Copy link
Member

await connection.StartAsync(); only waits for the connection headers to be written, which means there is a race between the connection starting and the test checking if the request timeout feature was disabled. To fix this, I added writing and reading to the connection to make sure everything is fully set up on the connection before testing the feature.

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-signalr Includes: SignalR clients and servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant