Skip to content

MINOR: Fix Streams metadata upgrade system test#7118

Merged
mjsax merged 2 commits into
apache:trunkfrom
mjsax:fix-system-test-zookeeper
Jul 29, 2019
Merged

MINOR: Fix Streams metadata upgrade system test#7118
mjsax merged 2 commits into
apache:trunkfrom
mjsax:fix-system-test-zookeeper

Conversation

@mjsax

@mjsax mjsax commented Jul 26, 2019

Copy link
Copy Markdown
Member

Recent ZK version bump broke the system test.

Kafka Streams depends on ZK in version 0.10.0 and 0.10.1. Previously, when running the system test we got the dependency added to the class path from the broker dependencies. With the ZK version bump, incorrect dependencies were added, resulting in class loading errors.

In this PR, we (1) remove core dependencies completely for the case we run an upgrade test, because Streams does not need those dependencies anyway. (2) For the case of running the upgrade test, we add the correct jars to the class path for 0.10.0 and 0.10.1 versions.

 - broke because of ZK version bump
@mjsax mjsax added streams tests Test fixes (including flaky tests) labels Jul 26, 2019
@mjsax

mjsax commented Jul 26, 2019

Copy link
Copy Markdown
Member Author

@mjsax

mjsax commented Jul 26, 2019

Copy link
Copy Markdown
Member Author

Triggered Streams system tests: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/2833/

@mjsax

mjsax commented Jul 26, 2019

Copy link
Copy Markdown
Member Author

Set incorrect ZK version for 0.10.1 (thought both would be the same).

Retriggered system tests: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/2835/

@ableegoldman ableegoldman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

System tests passed, thanks Matthias!

@mjsax
mjsax merged commit 39bcc84 into apache:trunk Jul 29, 2019
@mjsax
mjsax deleted the fix-system-test-zookeeper branch July 29, 2019 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

streams tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants