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

Try to stabilize KafkaConnectorIT tests #10550

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Sep 6, 2024

Type of change

  • Bugfix

Description

The KafkaConnectorIT tests tend to be flaky from time to time. This PR tries to improve them:

  • It increases the wait time from 2 to 3 seconds for the testTaskIsAutoRestarted test
  • It adds UNASSIGNED to passing connector states in assertConnectorIsAutoRestarted (when restarted, the connector goes through both UNASSIGNED and RESTARTING states, and depending on the timing we will capture one of them).

This should resolve #10210

Checklist

  • Make sure all tests pass

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.44.0 milestone Sep 6, 2024
@scholzj scholzj requested a review from a team September 6, 2024 15:50
@scholzj scholzj marked this pull request as ready for review September 6, 2024 15:50
@scholzj scholzj merged commit 14e92a9 into strimzi:main Sep 7, 2024
13 checks passed
@scholzj scholzj deleted the try-to-stabilize-KafkaConnectorIT branch September 7, 2024 13:09
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.

Fix flakyness of the KafkaConnectorIT integration test
3 participants