public void test_330_delete_series_in_actual_use_fails() {
try {
Schema schema = db.getSchemas("schema1a").iterator().next();
UpdatableChronicle chro = db.getTopChronicle().edit().createChronicle("schema1achro", false, "test chronicle", null, schema);
chro.applyUpdates();
UpdatableSeries<Double> ser = db.getUpdatableSeries("bt.schema1achro.fou", true);
ser.setValue(Workday.DOMAIN.time("2011-06-30"), 42.);
ser.applyUpdates();
// erase the series from the schema (should fail, of course)
UpdatableSchema sch1 = schema.edit();