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

KAFKA-4262: Increase data volume in replication test #1982

Closed
wants to merge 1 commit into from

Conversation

rajinisivaram
Copy link
Contributor

To prevent test from completing without throttling before config change takes effect, produce more messages in the test.

@rajinisivaram
Copy link
Contributor Author

@benstopford Can you take a look?

I think the test failed in https://builds.apache.org/job/kafka-trunk-git-pr-jdk7/6086/testReport/junit/kafka.admin/ReassignPartitionsClusterTest/shouldExecuteThrottledReassignment/ because the reassign command that updates quota configuration completed before the throttle config update actually took effect. Rather than changing the implementation to fix the test, I have increased the amount of data produced by the test to avoid replication completing too soon.

@benstopford
Copy link
Contributor

benstopford commented Oct 7, 2016

Thanks for spotting this Rajini. It'd be nice if we could do something more deterministic, but that's not going to be easy. Not for this test at least. I've raised a jira (4266) to add something more deterministic to the other throttling tests though, so they don't suffer this problem.
LGTM. @ijuma could you merge when you get a sec.

Copy link
Contributor

@ijuma ijuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, LGTM.

asfgit pushed a commit that referenced this pull request Oct 7, 2016
To prevent test from completing without throttling before config change takes effect, produce more messages in the test.

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

Reviewers: Ben Stopford <benstopford@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1982 from rajinisivaram/KAFKA-4262

(cherry picked from commit 5e4600a)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
@asfgit asfgit closed this in 5e4600a Oct 7, 2016
@ijuma
Copy link
Contributor

ijuma commented Oct 7, 2016

Merged to trunk and 0.10.1 branches.

asfgit pushed a commit that referenced this pull request Mar 6, 2017
…ompleted before start

Increase the reliability of the one temporal comparison in ReassignPartitionsClusterTest by imposing a delay after ZK is updated. This should be more reliable than just increasing the amount of data.

This relates to a previous PR: #1982

Author: Ben Stopford <benstopford@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #1997 from benstopford/KAFKA-4266
valeraBr pushed a commit to valeraBr/kafka that referenced this pull request May 2, 2024
…ompleted before start

Increase the reliability of the one temporal comparison in ReassignPartitionsClusterTest by imposing a delay after ZK is updated. This should be more reliable than just increasing the amount of data.

This relates to a previous PR: apache/kafka#1982

Author: Ben Stopford <benstopford@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #1997 from benstopford/KAFKA-4266
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.

3 participants