Skip to content

Remove flaky and redundant update_connection_password_connection_lost_before_password_update Java test#3022

Merged
ikolomi merged 1 commit intomainfrom
remove-flaky-java-test
Jan 28, 2025
Merged

Remove flaky and redundant update_connection_password_connection_lost_before_password_update Java test#3022
ikolomi merged 1 commit intomainfrom
remove-flaky-java-test

Conversation

@ikolomi
Copy link
Copy Markdown
Collaborator

@ikolomi ikolomi commented Jan 28, 2025

This test is redundant due to the active reconnect mechanism introduced in commit 68c6b3b.

The reconnect mechanism efficiently handles passive reconnects and reestablishes connections in both CMD and CME modes, rendering this test unnecessary.

Additionally, the test is flaky due to timing interdependencies between the updateConnectionPassword() implementation and the reconnect mechanism.

Issue link

This Pull Request is linked to issue (URL): #2037

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • [] CHANGELOG.md and documentation files are updated.
  • Destination branch is correct - main or release
  • Create merge commit if merging release branch into main, squash otherwise.

…_before_password_update Java test

This test is redundant due to the active reconnect mechanism introduced in commit 68c6b3b.

The reconnect mechanism efficiently handles passive reconnects and reestablishes connections in both CMD and CME modes, rendering this test unnecessary.

Additionally, the test is flaky due to timing interdependencies between the updateConnectionPassword() implementation and the reconnect mechanism.

Signed-off-by: ikolomi <ikolomin@amazon.com>
@ikolomi ikolomi requested a review from avifenesh January 28, 2025 15:12
@ikolomi ikolomi requested a review from a team as a code owner January 28, 2025 15:12
@ikolomi ikolomi merged commit 055f904 into main Jan 28, 2025
4 of 7 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the remove-flaky-java-test branch January 28, 2025 18:03
@Yury-Fridlyand Yury-Fridlyand added java ☕ issues and fixes related to the java client testing 🧪 Everything about testing labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

java ☕ issues and fixes related to the java client testing 🧪 Everything about testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants