assertTrue(fsShell.ls(true, path + "/test/" + datasetTemplete.getDatasetName(SimplePojo.class) + "/year=1997/month=12/*.avro").size() >= 2);
}
@Test
public void runSettingWriterCacheSize() throws IOException {
PartitionStrategy partitionStrategy =
new PartitionStrategy.Builder().year("birthDate").month("birthDate").build();
DatasetDefinition datasetDefinition = new DatasetDefinition(SimplePojo.class, "avro", partitionStrategy);
datasetDefinition.setWriterCacheSize(20);
final DatasetTemplate datasetTemplete = new DatasetTemplate(datasetRepositoryFactory, datasetDefinition);