Skip to content

KAFKA-8240: Fix NPE in Source.equals()#6685

Merged
mjsax merged 1 commit intoapache:2.2from
mjsax:backport-kafka-8240-22
May 9, 2019
Merged

KAFKA-8240: Fix NPE in Source.equals()#6685
mjsax merged 1 commit intoapache:2.2from
mjsax:backport-kafka-8240-22

Conversation

@mjsax
Copy link
Copy Markdown
Member

@mjsax mjsax commented May 6, 2019

 - backport of PR apache#6589 to 2.2 branch
@mjsax mjsax added the streams label May 6, 2019
@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented May 6, 2019

Call for review @bbejeck @cadonna

}

@Test
public void shouldThrowIfNameIsNull() {
Copy link
Copy Markdown
Member Author

@mjsax mjsax May 6, 2019

Choose a reason for hiding this comment

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

Needed to rewrite those tests, because we use JUnit 4.12 in 2.2 branch (instead of 4.13-beta-2 as in trunk) that does not support assertThrows.

Upgrading JUnit to 4.13-beta-2 broke other tests so it's easier to stick with 4.12.

Copy link
Copy Markdown
Member

@bbejeck bbejeck 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 separate PR @mjsax, LGTM

@asfgit
Copy link
Copy Markdown

asfgit commented May 6, 2019

SUCCESS
10533 tests run, 5 skipped, 0 failed.
--none--

Copy link
Copy Markdown
Member

@cadonna cadonna left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks @mjsax

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented May 8, 2019

Java8 never started or never finished... (is in "yellow" pending state for half a day) Java11 passed.

Retest this please.

@cadonna
Copy link
Copy Markdown
Member

cadonna commented May 9, 2019

Failures seem unrelated.

Retest this, please

Copy link
Copy Markdown
Member

@bbejeck bbejeck left a comment

Choose a reason for hiding this comment

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

Updates LGTM

@mjsax mjsax merged commit 17708df into apache:2.2 May 9, 2019
mjsax added a commit that referenced this pull request May 9, 2019
- backport of PR #6589 to 2.2 branch

Reviewers: Bruno Cadonna <bruno@confluent.io>, Bill Bejeck <bill@confluent.io>
@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented May 9, 2019

Merged to 2.2 and cherry-picked to 2.1 branch.

@mjsax mjsax deleted the backport-kafka-8240-22 branch May 9, 2019 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants