org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackendSuite

(It is not a test)
cores
max
mesos assigns tasks round-robin on offers
mesos creates multiple executors on a single slave
mesos declines offers that violate attribute constraints
mesos declines offers with a filter when reached spark.cores.max
mesos does not acquire more than spark.cores.max
mesos doesn't register twice with the same shuffle service
mesos kills an executor when told
mesos supports killing and limiting executors
mesos supports killing and relaunching tasks with executors
mesos supports spark.executor.cores
mesos supports unset spark.executor.cores
weburi is set in created scheduler driver