mirror of https://github.com/apache/kafka.git
MINOR: Fix transactions_upgrade_test to run transactions during upgrade (#16462)
Move when the upgrade happens so we actually upgrade while transactions are running Reviewers: David Jacot <djacot@confluent.io>
This commit is contained in:
parent
a0309be7f4
commit
e118811da3
|
@ -154,8 +154,6 @@ class TransactionsUpgradeTest(Test):
|
|||
|
||||
It returns the concurrently consumed messages.
|
||||
"""
|
||||
self.perform_upgrade(from_kafka_version)
|
||||
|
||||
copiers = create_and_start_copiers(test_context=self.test_context,
|
||||
kafka=self.kafka,
|
||||
consumer_group=self.consumer_group,
|
||||
|
@ -169,6 +167,8 @@ class TransactionsUpgradeTest(Test):
|
|||
group_id="concurrent_consumer",
|
||||
group_protocol=group_protocol)
|
||||
|
||||
self.perform_upgrade(from_kafka_version)
|
||||
|
||||
copier_timeout_sec = 120
|
||||
for copier in copiers:
|
||||
wait_until(lambda: copier.is_done,
|
||||
|
|
Loading…
Reference in New Issue