KAFKA-3728 EndToEndAuthorizationTest offsets_topic misconfigured#1425
KAFKA-3728 EndToEndAuthorizationTest offsets_topic misconfigured#1425edoardocomar wants to merge 1 commit intoapache:trunkfrom
Conversation
|
Hi @ijuma I've implemented your suggestions. I got rid of the TopicAuthorizationException on __consumer_offsets but otherwise testProduceConsumeViaSubscribe fails if it's not the first one to be Disappointing, this may be a cleanup problem but I could not spot any. |
6397dcf to
61f45ec
Compare
|
@edoardocomar, sorry for the delay. I investigated the issue and I think #1455 should fix it (I briefly tested your PR with it). |
|
thanks @ijuma does this mean that I should be able to get rid of |
|
Yes. |
I found both issues while investigating the issue described in PR #1425. Author: Ismael Juma <ismael@juma.me.uk> Reviewers: Sriharsha Chintalapani <schintalapani@hortonworks.com>, Jun Rao <junrao@gmail.com> Closes #1455 from ijuma/fix-integration-test-harness-and-zk-test-harness (cherry picked from commit 1029030) Signed-off-by: Ismael Juma <ismael@juma.me.uk>
|
@edoardocomar, can you please rebase this now that #1455 was merged? |
There was a problem hiding this comment.
Maybe call this setAclsAndProduce()
I found both issues while investigating the issue described in PR apache#1425. Author: Ismael Juma <ismael@juma.me.uk> Reviewers: Sriharsha Chintalapani <schintalapani@hortonworks.com>, Jun Rao <junrao@gmail.com> Closes apache#1455 from ijuma/fix-integration-test-harness-and-zk-test-harness
Set OffsetsTopicReplicationFactorProp to 3 like MinInSyncReplicasProp Else a consumer was able to consume via assign but not via subscribe, so the testProduceAndConsume is now duplicated to check both paths
|
LGTM @edoardocomar. Can you please update the PR description to match the commit message? The PR message is what gets used by our PR merge script in the merge commit. I'll merge it to trunk and 0.10.0 once you do that and the tests pass. Merging to 0.10.0 to make it easier to backport KAFKA-3396. |
|
Hi @ijuma all the tests pass for me - unlike in the Jenkins build. How do I re-kick a Jenkins build? |
|
I'll run the tests locally. Can you please not repeat the PR title in the description? |
|
done thx |
Set OffsetsTopicReplicationFactorProp to 3 like MinInSyncReplicasProp Else a consumer was able to consume via assign but not via subscribe, so the testProduceAndConsume is now duplicated to check both paths Author: Edoardo Comar <ecomar@uk.ibm.com> Reviewers: Ismael Juma <ismael@juma.me.uk> Closes #1425 from edoardocomar/KAFKA-3728 (cherry picked from commit 49ddc89) Signed-off-by: Ismael Juma <ismael@juma.me.uk>
I found both issues while investigating the issue described in PR apache#1425. Author: Ismael Juma <ismael@juma.me.uk> Reviewers: Sriharsha Chintalapani <schintalapani@hortonworks.com>, Jun Rao <junrao@gmail.com> Closes apache#1455 from ijuma/fix-integration-test-harness-and-zk-test-harness (cherry picked from commit 1029030) Signed-off-by: Ismael Juma <ismael@juma.me.uk>
Set OffsetsTopicReplicationFactorProp to 3 like MinInSyncReplicasProp Else a consumer was able to consume via assign but not via subscribe, so the testProduceAndConsume is now duplicated to check both paths Author: Edoardo Comar <ecomar@uk.ibm.com> Reviewers: Ismael Juma <ismael@juma.me.uk> Closes apache#1425 from edoardocomar/KAFKA-3728 (cherry picked from commit 49ddc89) Signed-off-by: Ismael Juma <ismael@juma.me.uk>
Set OffsetsTopicReplicationFactorProp to 3 like MinInSyncReplicasProp Else a consumer was able to consume via assign but not via subscribe, so the testProduceAndConsume is now duplicated to check both paths