Add (true) unit tests for CapacityScheduler
I just committed this since it's only tests.
Updated patch, completes unit tests for CS for all runtime resource limits, reservations for high-ram apps etc.
Teaches me to stop working before it's too late. I'll fix it as part of the next patch which has more tests. Thanks.
I think you generated the diff across an older version of MR-279. There's lot of accidental changes regarding securityinfo (in common) in your patch.
Bunch of unit tests for CS covering user limits, queue limits, multiple applications per queue, reservations etc.
I'll add more soon for scheduling across queue hierarchies, priorities etc.