IndexDeployOperation operation = new IndexDeployOperation(_indexName, _indexPath, 3);
operation.execute(_context, EMPTY_LIST);
publisShards(nodes, queues);
ArrayList<OperationResult> results = new ArrayList<OperationResult>();
DeployResult deployResult1 = new DeployResult(nodes.get(0).getName());
DeployResult deployResult2 = new DeployResult(nodes.get(1).getName());
DeployResult deployResult3 = new DeployResult(nodes.get(2).getName());
Map<String, String> metaMap = new HashMap<String, String>();
metaMap.put("a", "1");
String shard1Name = AbstractIndexOperation.createShardName(_indexName, _indexFile.listFiles()[0].getAbsolutePath());
deployResult1.addShardMetaDataMap(shard1Name, metaMap);
deployResult2.addShardMetaDataMap(shard1Name, metaMap);
deployResult3.addShardMetaDataMap(shard1Name, metaMap);
results.add(deployResult1);
results.add(deployResult2);
results.add(deployResult3);
operation.nodeOperationsComplete(_context, results);