}
}
public void test_400_delete_chronicle_attribute_with_actual_values() {
try {
UpdatableSchema schema = db.getUpdatableSchemas("schema1a").iterator().next();
// use the attribute
UpdatableChronicle chro = db.getChronicle("bt.schema1achro", true).edit();
assertEquals("t1v1", chro.getAttribute("prop1", true).get().toString());
Attribute<?> a = chro.getAttribute("prop1", true);
a.scan("t1v2");
assertEquals("t1v2", a.get().toString());
chro.setAttribute(a);
chro.applyUpdates();
assertEquals("t1v2", chro.getAttribute("prop1", true).get().toString());
schema.deleteAttribute(1);
schema.applyUpdates();
expectException();
} catch (Exception e) {
assertException(e, null, D.D30146);
}
}