Skip to content

MINOR: improve QueryableStateIntegrationTest#5987

Merged
guozhangwang merged 1 commit intoapache:trunkfrom
mjsax:minor-fix-iq-test
Dec 3, 2018
Merged

MINOR: improve QueryableStateIntegrationTest#5987
guozhangwang merged 1 commit intoapache:trunkfrom
mjsax:minor-fix-iq-test

Conversation

@mjsax
Copy link
Copy Markdown
Member

@mjsax mjsax commented Dec 2, 2018

Fix test Comparators plus Java8 cleanup

@mjsax mjsax added the streams label Dec 2, 2018
}
};
stringComparator = Comparator.comparing((KeyValue<String, String> o) -> o.key).thenComparing(o -> o.value);
stringLongComparator = Comparator.comparing((KeyValue<String, Long> o) -> o.key).thenComparingLong(o -> o.value);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the actual fix.

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Dec 2, 2018

Call for review @guozhangwang @bbejeck @vvcephei

This should be cherry-picked into 2.1 and 2.0, too. For older branches, there is #5988

@guozhangwang
Copy link
Copy Markdown
Contributor

Build timed out. Local run passed.

@guozhangwang guozhangwang merged commit 4444a31 into apache:trunk Dec 3, 2018
guozhangwang pushed a commit that referenced this pull request Dec 3, 2018
Fix test Comparators plus Java8 cleanup

Reviewers: Guozhang Wang <wangguoz@gmail.com>
@guozhangwang
Copy link
Copy Markdown
Contributor

Cherry-picked to 2.1 and 2.0 (2.0 has lots of conflicts, so I just pushed the one-liner of the actual fix).

@mjsax mjsax deleted the minor-fix-iq-test branch December 3, 2018 07:07
@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Dec 3, 2018

2.0 has lots of conflicts, so I just pushed the one-liner of the actual fi

Cool. That's good enough. Thank you!

pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
Fix test Comparators plus Java8 cleanup

Reviewers: Guozhang Wang <wangguoz@gmail.com>
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.

2 participants