pkuwm opened a new issue #1193: URL: https://github.com/apache/helix/issues/1193
The test uses reflection to change `ClientCnxn.packetLen`. It runs successfully until the commit where it is added. And after later commits are added, the test becomes flaky. Because `ClientCnxn.packetLen` value is not changed in zookeeper object that zkClient uses. To fix it and make it simple, replace reflection with the naive way: create 110K children. To save the creation time, use zk transaction api to batch the znodes creation. Now the creation time is reduced from 170s to 4s. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
