Rebase master_contender_detector_tests with synchronized.
Rebase master_contender_detector_tests with synchronized.

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

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