Gang, One of the tests triggered a behavior that I would like to verify what should be the correct behavior.
Scenario; Test1 is populating a DB with all kinds of "stuff" and then leaves it in that state. Test2 is doing its stuff (no problem), but tries to clean up its own mess, whereby the EntityStore is traversed and all found entities are removed. Since the types used in Test1 is unknown to Test2, a problem arises in the clean-up phase of Test2, EntityTypeNotFoundException which in the case of MapEntityStore (most) will just log the problem and then ignore it. Since Test1 has populated 10s of thousands of entities, the stack trace outputs are immense. I think my question is two-fold; 1. What should we do in the traversal of the EntityStore and a EntityTypeNotFoundException occurs? 2. Should it be possible, or not, to remove entities without knowing its entity type? Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

