mirror of https://github.com/apache/kafka.git
HOTFIX: fix log message in version probing system test (#8341)
Reviewer: Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
parent
b5409b9c04
commit
e1cbefef60
|
@ -526,6 +526,8 @@ public class StreamThread extends Thread {
|
||||||
try {
|
try {
|
||||||
runOnce();
|
runOnce();
|
||||||
if (assignmentErrorCode.get() == AssignorError.REBALANCE_NEEDED.code()) {
|
if (assignmentErrorCode.get() == AssignorError.REBALANCE_NEEDED.code()) {
|
||||||
|
log.info("Detected that the assignor requested a rebalance. Rejoining the consumer group to " +
|
||||||
|
"trigger a new rebalance.");
|
||||||
assignmentErrorCode.set(AssignorError.NONE.code());
|
assignmentErrorCode.set(AssignorError.NONE.code());
|
||||||
mainConsumer.enforceRebalance();
|
mainConsumer.enforceRebalance();
|
||||||
}
|
}
|
||||||
|
|
|
@ -539,7 +539,7 @@ class StreamsUpgradeTest(Test):
|
||||||
timeout_sec=60,
|
timeout_sec=60,
|
||||||
err_msg="Never saw output 'Upgrade metadata to version 8' on" + str(second_other_node.account))
|
err_msg="Never saw output 'Upgrade metadata to version 8' on" + str(second_other_node.account))
|
||||||
|
|
||||||
log_monitor.wait_until("Version probing detected. Rejoining the consumer group to trigger a new rebalance.",
|
log_monitor.wait_until("Detected that the assignor requested a rebalance. Rejoining the consumer group to trigger a new rebalance.",
|
||||||
timeout_sec=60,
|
timeout_sec=60,
|
||||||
err_msg="Could not detect 'Triggering new rebalance' at upgrading node " + str(node.account))
|
err_msg="Could not detect 'Triggering new rebalance' at upgrading node " + str(node.account))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue