kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject [kafka] branch 2.0 updated: MINOR: Use LATEST_1_1 instead of V_1_1_0 in quota_test (#5636)
Date Thu, 13 Sep 2018 14:16:45 GMT
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.0 by this push:
     new c7eee92  MINOR: Use LATEST_1_1 instead of V_1_1_0 in quota_test (#5636)
c7eee92 is described below

commit c7eee92ca0fe618da749d636179aacf9bc5b58a2
Author: Anna Povzner <anna@confluent.io>
AuthorDate: Mon Sep 10 17:34:48 2018 -0700

    MINOR: Use LATEST_1_1 instead of V_1_1_0 in quota_test (#5636)
    
    The goal is to only test against the latest bug fix release for each release branch.
    
    Reviewers: Ismael Juma <ismael@juma.me.uk>
---
 tests/kafkatest/tests/client/quota_test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/kafkatest/tests/client/quota_test.py b/tests/kafkatest/tests/client/quota_test.py
index c084e08..4cbceef 100644
--- a/tests/kafkatest/tests/client/quota_test.py
+++ b/tests/kafkatest/tests/client/quota_test.py
@@ -21,7 +21,7 @@ from kafkatest.services.zookeeper import ZookeeperService
 from kafkatest.services.kafka import KafkaService
 from kafkatest.services.performance import ProducerPerformanceService
 from kafkatest.services.console_consumer import ConsoleConsumer
-from kafkatest.version import DEV_BRANCH, V_1_1_0
+from kafkatest.version import DEV_BRANCH, LATEST_1_1
 
 class QuotaConfig(object):
     CLIENT_ID = 'client-id'
@@ -134,7 +134,7 @@ class QuotaTest(Test):
                    old_broker_throttling_behavior=False, old_client_throttling_behavior=False):
         # Old (pre-2.0) throttling behavior for broker throttles before sending a response
to the client.
         if old_broker_throttling_behavior:
-            self.kafka.set_version(V_1_1_0)
+            self.kafka.set_version(LATEST_1_1)
         self.kafka.start()
 
         self.quota_config = QuotaConfig(quota_type, override_quota, self.kafka)
@@ -143,7 +143,7 @@ class QuotaTest(Test):
 
         # Old (pre-2.0) throttling behavior for client does not throttle upon receiving a
response with a non-zero throttle time.
         if old_client_throttling_behavior:
-            client_version = V_1_1_0
+            client_version = LATEST_1_1
         else:
             client_version = DEV_BRANCH
 


Mime
View raw message