Details
Description
The multi-role changes in Mesos changed the implementation of `Resources::contains`.
This results in the search for a given resource to be performed only for unallocated resources.
For allocated resources the search is actually performed only for a given role.
Due to this change the resource check in both the long-lived framework are failing leading to these frameworks not launching any tasks.
The fix would be to unallocate all resources in a given offer and than do the `contains` check.