chia7712 commented on code in PR #19013:
URL: https://github.com/apache/kafka/pull/19013#discussion_r1966656027
##########
tests/kafkatest/tests/client/truncation_test.py:
##########
@@ -145,6 +145,6 @@ def none_consumed(this, consumer):
err_msg="Timed out waiting for the consumer to fully consume
data")
second_total_consumed = consumer2.total_consumed()
- assert second_total_consumed < total_records_consumed, "Expected fewer
records with new consumer since we truncated"
+ assert second_total_consumed < total_records_consumed, ("Expected
fewer records with new consumer since we truncated, total_records_consumed is
%s, second_total_consumed is %s" % total_records_consumed,
second_total_consumed)
Review Comment:
please fix it
```
TypeError: not enough arguments for format string
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]