Skip to content

Conversation

@CurtHagenlocher
Copy link
Contributor

Fix flaky test SendAsync_WithExternalToken_BlocksUntilTokenExchangeCompletes by using the more-accurate Stopwatch instead of DateTime.UtcNow. The latter was regularly causing test failures with messages like "Request took 488.5696ms, which is shorter than the token exchange delay of 500ms. Expected blocking behavior." due to the lack of precision.

Fix flaky test by using the more-accurate `Stopwatch` instead of `DateTime.UtcNow`.
@github-actions github-actions bot added this to the ADBC Libraries 22 milestone Nov 24, 2025
@CurtHagenlocher
Copy link
Contributor Author

Okay, so my theory about the test failure is wrong...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant