Community
Participate
Working Groups
Follow up to bug 276326 1) We should add a couple new test cases to check that the profile resolution gets used. 2) The tests should delete the profile in a try/finally otherwise one failure can lead to others (the later tests look up information in the profile) 3) While the tests pass and my manual testing passed, there still may be ways to get a stale profile. One possibility would be when switching from slicing to planning, while the planner would actually fail, we never get to that point because the profile contains the previously sliced IUs.
1) Still working on this, I have a test that will modify the profile during the test so the if the resolveWithProfile is running correctly it will get different results. 2) Fixed in HEAD. 3) Changing slicing vs planning forces the profile to be recreated because the properties are immutable. I think we are ok here.
Fixed in HEAD, see IUBundleContainerTests. I also had to add some new dependencies to the test bundle to modify the profile during the test.