use of org.neo4j.kernel.impl.storemigration.StoreFile in project neo4j by neo4j.
the class TestBackup method ensureStoresHaveIdFiles.
private void ensureStoresHaveIdFiles(File path) throws IOException {
for (StoreFile file : StoreFile.values()) {
if (file.isRecordStore()) {
File idFile = new File(path, file.fileName(StoreFileType.ID));
assertTrue("Missing id file " + idFile, idFile.exists());
assertTrue("Id file " + idFile + " had 0 highId", IdGeneratorImpl.readHighId(fileSystemRule.get(), idFile) > 0);
}
}
}
Aggregations