public class UpgradeAction05_06Test extends AbstractZkTest {
@Test
@SuppressWarnings("deprecation")
public void testPreserveIndices() throws Exception {
ZkClient zkClientForWriables = new ZkClient(_zk.getZkConf().getZKServers(), 5000, 5000, new WriteableZkSerializer(
net.sf.katta.index.IndexMetaData.class));
String indexName = "index1";
net.sf.katta.index.IndexMetaData oldIndexMD = new net.sf.katta.index.IndexMetaData("indexPath", "analyzer", 2,
net.sf.katta.index.IndexMetaData.IndexState.DEPLOYED);
String oldIndicesPath = UpgradeAction05_06.getOldIndicesPath(_zk.getZkConf());