Fixed SchedulerTest.MetricsEndpoint test.
Fixed SchedulerTest.MetricsEndpoint test.

Review: https://reviews.apache.org/r/22089

andschwa/mesos,jpeach/mesos,verizonlabs/mesos,gsantovena/mesos,zmalik/mesos,dforsyth/mesos,abudnik/mesos,yuquanshan/customizedMesos,reneploetz/mesos,Gilbert88/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,neilconway/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,craimbert/mesos,abudnik/mesos,craimbert/mesos,asamerh4/mesos,neilconway/mesos,chhsia0/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,craimbert/mesos,zmalik/mesos,gsantovena/mesos,asamerh4/mesos,yuquanshan/customizedMesos,neilconway/mesos,craimbert/mesos,craimbert/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,neilconway/mesos,gsantovena/mesos,asamerh4/mesos,asamerh4/mesos,gsantovena/mesos,gsantovena/mesos,neilconway/mesos,dforsyth/mesos,verizonlabs/mesos,Gilbert88/mesos,jpeach/mesos,Gilbert88/mesos,chhsia0/mesos,kaysoky/mesos,abudnik/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,zmalik/mesos,kaysoky/mesos,verizonlabs/mesos,verizonlabs/mesos,reneploetz/mesos,andschwa/mesos,dforsyth/mesos,verizonlabs/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,kaysoky/mesos,reneploetz/mesos,jpeach/mesos,jpeach/mesos,dforsyth/mesos,dforsyth/mesos,reneploetz/mesos,zmalik/mesos,jpeach/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,abudnik/mesos,chhsia0/mesos,gsantovena/mesos,kaysoky/mesos,andschwa/mesos,chhsia0/mesos,reneploetz/mesos,zmalik/mesos,jpeach/mesos,yuquanshan/customizedMesos,asamerh4/mesos,jpeach/mesos,asamerh4/mesos,kaysoky/mesos,reneploetz/mesos,zmalik/mesos,zmalik/mesos,gsantovena/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,chhsia0/mesos,neilconway/mesos,abudnik/mesos,abudnik/mesos,andschwa/mesos,asamerh4/mesos,andschwa/mesos,Gilbert88/mesos,kaysoky/mesos,abudnik/mesos,Gilbert88/mesos,neilconway/mesos,yuquanshan/customizedMesos,kaysoky/mesos