li4wang commented on a change in pull request #1644:
URL: https://github.com/apache/zookeeper/pull/1644#discussion_r632273912
##########
File path:
zookeeper-server/src/test/java/org/apache/zookeeper/test/EnforceQuotaTest.java
##########
@@ -54,14 +56,16 @@ public void tearDown() throws Exception {
@Test
public void testSetQuotaDisableWhenExceedBytesHardQuota() throws Exception
{
- final String path = "/c1";
+ final String namespace = UUID.randomUUID().toString();
Review comment:
Yes, the reason is that we added validation on the per-namespace quota
exceeded count in the test cases. The namespace need to be dynamic/random to
make sure the counter is not interfered by other test cases.
`ZooKeeperQuotaTest.validateNoQuotaExceededMetrics(namespace);`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]