Skip to content

Commit b62290c

Browse files
authored
Removed System.out statements from ProducerIT tests to clean up test output. (#1029)
* Replace Sys.out to logger Signed-off-by: Sai Abitha Rao <[email protected]> * Fixed typo Signed-off-by: Sai Abitha Rao <[email protected]> --------- Signed-off-by: Sai Abitha Rao <[email protected]>
1 parent aeb6179 commit b62290c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/io/strimzi/kafka/bridge/http/ProducerIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void sendMessagesToMultiplePartitions(VertxTestContext context) throws Interrupt
119119

120120
JsonObject root = new JsonObject();
121121
root.put("records", records);
122-
System.out.println(root);
122+
LOGGER.info("Sending:\n{}", root);
123123

124124
future.get();
125125

@@ -132,7 +132,7 @@ void sendMessagesToMultiplePartitions(VertxTestContext context) throws Interrupt
132132
HttpResponse<JsonObject> response = ar.result();
133133
assertThat(response.statusCode(), is(HttpResponseStatus.OK.code()));
134134
JsonObject bridgeResponse = response.body();
135-
System.out.println(bridgeResponse);
135+
LOGGER.info("Received response:\n{}", bridgeResponse);
136136
JsonArray offsets = bridgeResponse.getJsonArray("offsets");
137137
assertThat(offsets.size(), is(3));
138138
JsonObject metadata = offsets.getJsonObject(0);

0 commit comments

Comments
 (0)