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

Make heartbeat test tolerant of odd wait times #47688

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Apr 13, 2023

There is a small chance that the actual heartbeat interval is slightly shorter than the configured heartbeat interval.

For example, configured = 300ms, actual = 299ms.

Make test not error in that situation by rounding actual value.

@JamesNK JamesNK merged commit af93992 into main Apr 13, 2023
@JamesNK JamesNK deleted the jamesnk/heartbeat-tolerance branch April 13, 2023 23:00
@ghost ghost added this to the 8.0-preview4 milestone Apr 13, 2023
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants