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

tests: extend consumer timeout in test with kills #6478

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

VladLazar
Copy link
Contributor

Cover letter

test_write_with_node_failures randomly kills nodes while a verifiable consumer is running against the cluster. Hence, the consumer group members need to react to the broker failures. If we get unlucky, and the test continously kills the group coordinator broker, then there may be long periods of time when no data is consumed. This non-determinism coupled with a short consumer timeout (30s) makes the test flaky.

This commit increases the consumer timeout to 90s in order to increase the chances of all the required data being consumed before the timeout.

Fixes #4639

Backport Required

  • not a bug fix
  • issue does not exist in previous branches
  • papercut/not impactful enough to backport
  • v22.2.x
  • v22.1.x
  • v21.11.x

test_write_with_node_failures randomly kills nodes while a verifiable
consumer is running against the cluster. Hence, the consumer group
members need to react to the broker failures. If we get unlucky, and the
test continously kills the group coordinator broker, then there may be
long periods of time when no data is consumed. This non-determinism
coupled with a short consumer timeout (30s) makes the test flaky.

This commit increases the consumer timeout to 90s in order to increase
the chances of all the required data being consumed before the timeout.
@VladLazar VladLazar merged commit a9a985e into redpanda-data:dev Sep 20, 2022
@VladLazar
Copy link
Contributor Author

/backport v22.2.x

@VladLazar
Copy link
Contributor Author

/backport v22.1.x

@VladLazar
Copy link
Contributor Author

/backport v21.11.x

@vbotbuildovich
Copy link
Collaborator

Failed to run cherry-pick command. I executed the below command:

git cherry-pick -x 5f4376571c67ffe8279461dbf9b4157b3eb9a4a7

Workflow run logs.

@mmedenjak mmedenjak added kind/bug Something isn't working area/tests ci-failure area/cloud-storage Shadow indexing subsystem labels Sep 21, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cloud-storage Shadow indexing subsystem area/tests ci-failure kind/bug Something isn't working
Projects
None yet
4 participants