This is an automated email from the ASF dual-hosted git repository.
ijuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1427e84 MINOR: Use LATEST_1_1 instead of V_1_1_0 in quota_test (#5636)
1427e84 is described below
commit 1427e84cc7935e3826eb91408ca7fa87ff868505
Author: Anna Povzner <[email protected]>
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 <[email protected]>
---
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