Directory dir = createDir(builder);
byte[] data = assertWrites(dir, OakDirectory.DEFAULT_BLOB_SIZE);
NodeBuilder testNode = builder.child(INDEX_DATA_CHILD_NAME).child("test");
//Remove the size property to simulate old behaviour
testNode.removeProperty(PROP_BLOB_SIZE);
//Read should still work even if the size property is removed
IndexInput i = dir.openInput("test", IOContext.DEFAULT);
assertEquals(fileSize, i.length());