I hear you, but in this case, I would resist consolidation. OutputVerifier is a public test utility for use with the TopologyTestDriver. Its behavior needs to be stable over time.
IntegrationTestUtils is a private utility for use in our integration tests (i.e., not TopologyTestDriver). We should maintain the flexibility to change these utilities completely at will. So it seems they have little in common except that they need to print a message when an assertion is false during testing. The message is for human consumption, so its format doesn't need to be any particular way, just as long as it's clear and informative. IMHO, these two components are far apart in usage and modular structure, and there doesn't seem to be a compelling benefit from coupling them. [ Full content available at: https://github.com/apache/kafka/pull/5724 ] This message was relayed via gitbox.apache.org for [email protected]
