public HelixAccountServiceTest() throws Exception {
helixConfigProps.setProperty(
HelixPropertyStoreConfig.HELIX_PROPERTY_STORE_PREFIX + "zk.client.connection.timeout.ms",
String.valueOf(ZK_CLIENT_CONNECTION_TIMEOUT_MS));
helixConfigProps.setProperty(HelixPropertyStoreConfig.HELIX_PROPERTY_STORE_PREFIX + "zk.client.session.timeout.ms",
String.valueOf(ZK_CLIENT_SESSION_TIMEOUT_MS));
helixConfigProps.setProperty(HelixAccountServiceConfig.ZK_CLIENT_CONNECT_STRING_KEY, ZK_CONNECT_STRING);
helixConfigProps.setProperty(HelixPropertyStoreConfig.HELIX_PROPERTY_STORE_PREFIX + "root.path", STORE_ROOT_PATH);
accountBackupDir = Paths.get(TestUtils.getTempDir("account-backup")).toAbsolutePath();
helixConfigProps.setProperty(HelixAccountServiceConfig.BACKUP_DIRECTORY_KEY, accountBackupDir.toString());
vHelixConfigProps = new VerifiableProperties(helixConfigProps);
storeConfig = new HelixPropertyStoreConfig(vHelixConfigProps);
notifier = new MockNotifier<>();
mockHelixAccountServiceFactory =
new MockHelixAccountServiceFactory(vHelixConfigProps, new MetricRegistry(), notifier, null);
deleteStoreIfExists();
generateReferenceAccountsAndContainers();
}