commit | 7669a05ae7460bc2445e083a3e45c871e627a207 | [log] [tgz] |
---|---|---|
author | Molly Gao <31704180+mgao0@users.noreply.github.com> | Wed Apr 06 10:53:22 2022 -0700 |
committer | Junkai Xue <junkai.xue@gmail.com> | Thu Apr 07 16:26:21 2022 -0700 |
tree | 18ed7407d3233196f844fdeb2ea37c65ba6def95 | |
parent | a1c52ed2088f73206c855b889cc1d55460a7d07d [diff] |
Fix TestCloudEventCallbackProperty by bypassing connecting to zk (#2017) Due to logical change in ZKHelixManager constructor in a #1986, TestCloudEventCallbackProperty broke because in this test it doesn't connect to zookeeper server. To fix this test, we separated MockCloudEventAwareHelixManager (previously called MockEventAwareZKHelixManager, nested inside TestCloudEventCallbackProperty)into a class, and include all and only the logics related to cloud events in MockCloudEventAwareHelixManager. More detailed, we mock a cloud config object retrieved from zk to bypass connection to zk.
Helix is part of the Apache Software Foundation.
Project page: http://helix.apache.org/
Mailing list: http://helix.apache.org/mail-lists.html
mvn clean install -Dmaven.test.skip.exec=true
Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features: