Skip to content

IT: fix flaky ExecutionProfileTest.RequestTimeout test#423

Merged
wprzytula merged 1 commit intomasterfrom
dk/fix-exec-profile-request-timeout-flaky-test
Feb 25, 2026
Merged

IT: fix flaky ExecutionProfileTest.RequestTimeout test#423
wprzytula merged 1 commit intomasterfrom
dk/fix-exec-profile-request-timeout-flaky-test

Conversation

@dkropachev
Copy link
Copy Markdown
Contributor

@dkropachev dkropachev commented Feb 25, 2026

Summary

  • Increase sleep time from 2ms to 10ms in the ExecutionProfileTest.RequestTimeout test to ensure the 1ms request timeout reliably fires before the server can respond
  • The previous 2ms margin was too tight, causing intermittent failures where the server returned CASS_ERROR_SERVER_INVALID_QUERY (0x2002200) before the client-side timeout triggered

Fixes #309

@dkropachev dkropachev marked this pull request as ready for review February 25, 2026 02:30
Increase sleep time from 2ms to 100ms to ensure the 1ms request
timeout reliably fires before the server can respond. The previous
2ms margin was too tight, causing intermittent failures where the
server returned CASS_ERROR_SERVER_INVALID_QUERY before the client
timeout triggered.

Fixes #309
@dkropachev dkropachev force-pushed the dk/fix-exec-profile-request-timeout-flaky-test branch from 9e4849a to f6935dc Compare February 25, 2026 12:42
@wprzytula wprzytula requested a review from Lorak-mmk February 25, 2026 13:22
@wprzytula wprzytula merged commit c7b30c1 into master Feb 25, 2026
9 checks passed
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.

ExecutionProfileTest.Integration_Cassandra_RequestTimeout can fail

3 participants