-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add integration tests for Consumer, Producer and Streams #67
Conversation
e7be3d7
to
5aa8ac9
Compare
Signed-off-by: Mickael Maison <[email protected]>
5aa8ac9
to
ac7da0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just two minor nits to consider.
public class TestUtils { | ||
|
||
private static final String VERSION = "1.0.0-SNAPSHOT"; | ||
private static final String CLIENTS_IMAGE = "quay.io/strimzi-test-clients/test-clients:latest-kafka-3.9.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe extract the Kafka version here to separate variable?
public void setUp() throws Exception { | ||
broker = new StrimziKafkaContainer() | ||
.withKraft() | ||
.withNetworkAliases("kafka"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extract this network kafka
alias into a TestUtils so it can be reused across all integration tests.
Signed-off-by: Mickael Maison <[email protected]>
@mimaison I don't see the tests running in azure. Is that intended from some reason? |
I can see the new tests (
Am I missing something? |
ah sorry, I forgot that ctrl + f doesn't work within azp log. 🤦 |
This is adding integration tests for running the metrics reporter in consumers, producer and streams applications.