lisa.tests.scheduler.sanity: Fix use of collector
FIX
CapacitySanity._from_target() was reusing the passed collector multiple times, leading to only the last trace being saved.
Instead, use the collector once and do all the work while collecting.
FIX
CapacitySanity._from_target() was reusing the passed collector multiple times, leading to only the last trace being saved.
Instead, use the collector once and do all the work while collecting.