Skip to content

Commit

Permalink
fix(e2e): rename method name that is not a test (#1681)
Browse files Browse the repository at this point in the history
Signed-off-by: Shichao Nie <[email protected]>
  • Loading branch information
SCNieh authored Jul 31, 2024
1 parent 630a867 commit 4596ba6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/kafkatest/automq/quota_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@ def test_quota(self, broker_in, broker_out):
self.kafka.start()
records = 50000
self.logger.info(f'update to {broker_in},{broker_out}')
self.test_quota0(records, broker_in, broker_out)
self.do_quota_validate(records, broker_in, broker_out)
# quota reduction
broker_in = broker_in // 2
broker_out = broker_out // 2
self.update_quota_config(broker_in, broker_out)
self.logger.info(f'update to {broker_in},{broker_out}')
self.test_quota0(records, broker_in, broker_out)
self.do_quota_validate(records, broker_in, broker_out)
assert self.success, self.msg

def test_quota0(self, num_records, broker_in, broker_out):
def do_quota_validate(self, num_records, broker_in, broker_out):
# Produce all messages
self.start_perf_producer(num_records=num_records, throughput=-1)
# Consume all messages
Expand Down

0 comments on commit 4596ba6

Please sign in to comment.