Fix TSAN for delete_scheduler_test
Fix TSAN for delete_scheduler_test

Summary: Fixing TSAN false positive and relaxing the conditions when we are running under TSAN

Test Plan: COMPILE_WITH_TSAN=1 make -j64 delete_scheduler_test && ./delete_scheduler_test

Reviewers: yhchiang, sdong

Reviewed By: sdong

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D43593

JackLian/rocksdb,dkorolev/rocksdb,wat-ze-hex/rocksdb,wenduo/rocksdb,caijieming-baidu/rocksdb,JohnPJenkins/rocksdb,luckywhu/rocksdb,Andymic/rocksdb,wenduo/rocksdb,sorphi/rocksdb,facebook/rocksdb,flabby/rocksdb,lgscofield/rocksdb,vashstorm/rocksdb,siddhartharay007/rocksdb,facebook/rocksdb,temicai/rocksdb,norton/rocksdb,makelivedotnet/rocksdb,bbiao/rocksdb,kaschaeffer/rocksdb,dkorolev/rocksdb,wat-ze-hex/rocksdb,wlqGit/rocksdb,ryneli/rocksdb,Andymic/rocksdb,wenduo/rocksdb,siddhartharay007/rocksdb,SunguckLee/RocksDB,jalexanderqed/rocksdb,vashstorm/rocksdb,siddhartharay007/rocksdb,kaschaeffer/rocksdb,norton/rocksdb,flabby/rocksdb,SunguckLee/RocksDB,caijieming-baidu/rocksdb,sorphi/rocksdb,luckywhu/rocksdb,ryneli/rocksdb,sorphi/rocksdb,biddyweb/rocksdb,RyanTech/rocksdb,tsheasha/rocksdb,kaschaeffer/rocksdb,bbiao/rocksdb,ryneli/rocksdb,biddyweb/rocksdb,Vaisman/rocksdb,wat-ze-hex/rocksdb,bbiao/rocksdb,flabby/rocksdb,vmx/rocksdb,JoeWoo/rocksdb,luckywhu/rocksdb,ryneli/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,jalexanderqed/rocksdb,temicai/rocksdb,caijieming-baidu/rocksdb,sorphi/rocksdb,JoeWoo/rocksdb,RyanTech/rocksdb,lgscofield/rocksdb,vmx/rocksdb,Vaisman/rocksdb,wenduo/rocksdb,JackLian/rocksdb,ryneli/rocksdb,dkorolev/rocksdb,dkorolev/rocksdb,jalexanderqed/rocksdb,wlqGit/rocksdb,Andymic/rocksdb,tsheasha/rocksdb,temicai/rocksdb,Applied-Duality/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,lgscofield/rocksdb,jalexanderqed/rocksdb,flabby/rocksdb,JackLian/rocksdb,JackLian/rocksdb,facebook/rocksdb,biddyweb/rocksdb,makelivedotnet/rocksdb,siddhartharay007/rocksdb,vashstorm/rocksdb,biddyweb/rocksdb,SunguckLee/RocksDB,Andymic/rocksdb,hobinyoon/rocksdb,kaschaeffer/rocksdb,JohnPJenkins/rocksdb,hobinyoon/rocksdb,JoeWoo/rocksdb,hobinyoon/rocksdb,JoeWoo/rocksdb,wat-ze-hex/rocksdb,facebook/rocksdb,geraldoandradee/rocksdb,siddhartharay007/rocksdb,luckywhu/rocksdb,sorphi/rocksdb,luckywhu/rocksdb,ryneli/rocksdb,JoeWoo/rocksdb,RyanTech/rocksdb,makelivedotnet/rocksdb,dkorolev/rocksdb,OverlordQ/rocksdb,geraldoandradee/rocksdb,vashstorm/rocksdb,tsheasha/rocksdb,tsheasha/rocksdb,wlqGit/rocksdb,wenduo/rocksdb,RyanTech/rocksdb,caijieming-baidu/rocksdb,RyanTech/rocksdb,hobinyoon/rocksdb,Vaisman/rocksdb,OverlordQ/rocksdb,RyanTech/rocksdb,Vaisman/rocksdb,Applied-Duality/rocksdb,vashstorm/rocksdb,makelivedotnet/rocksdb,vashstorm/rocksdb,hobinyoon/rocksdb,bbiao/rocksdb,Vaisman/rocksdb,norton/rocksdb,Applied-Duality/rocksdb,geraldoandradee/rocksdb,biddyweb/rocksdb,lgscofield/rocksdb,wat-ze-hex/rocksdb,jalexanderqed/rocksdb,OverlordQ/rocksdb,geraldoandradee/rocksdb,kaschaeffer/rocksdb,JohnPJenkins/rocksdb,hobinyoon/rocksdb,kaschaeffer/rocksdb,temicai/rocksdb,ryneli/rocksdb,vmx/rocksdb,lgscofield/rocksdb,Applied-Duality/rocksdb,wenduo/rocksdb,luckywhu/rocksdb,JackLian/rocksdb,wat-ze-hex/rocksdb,vmx/rocksdb,makelivedotnet/rocksdb,flabby/rocksdb,flabby/rocksdb,caijieming-baidu/rocksdb,JackLian/rocksdb,geraldoandradee/rocksdb,tsheasha/rocksdb,OverlordQ/rocksdb,JohnPJenkins/rocksdb,vmx/rocksdb,OverlordQ/rocksdb,flabby/rocksdb,Andymic/rocksdb,dkorolev/rocksdb,wlqGit/rocksdb,kaschaeffer/rocksdb,tsheasha/rocksdb,JohnPJenkins/rocksdb,lgscofield/rocksdb,tsheasha/rocksdb,vmx/rocksdb,wenduo/rocksdb,JackLian/rocksdb,hobinyoon/rocksdb,Vaisman/rocksdb,temicai/rocksdb,Applied-Duality/rocksdb,norton/rocksdb,vashstorm/rocksdb,biddyweb/rocksdb,biddyweb/rocksdb,vmx/rocksdb,tsheasha/rocksdb,wat-ze-hex/rocksdb,wenduo/rocksdb,facebook/rocksdb,geraldoandradee/rocksdb,sorphi/rocksdb,SunguckLee/RocksDB,SunguckLee/RocksDB,RyanTech/rocksdb,caijieming-baidu/rocksdb,Andymic/rocksdb,caijieming-baidu/rocksdb,norton/rocksdb,SunguckLee/RocksDB,siddhartharay007/rocksdb,Applied-Duality/rocksdb,Applied-Duality/rocksdb,bbiao/rocksdb,facebook/rocksdb,wat-ze-hex/rocksdb,temicai/rocksdb,sorphi/rocksdb,lgscofield/rocksdb,norton/rocksdb,jalexanderqed/rocksdb,facebook/rocksdb,makelivedotnet/rocksdb,temicai/rocksdb,JoeWoo/rocksdb,bbiao/rocksdb,wlqGit/rocksdb,SunguckLee/RocksDB,dkorolev/rocksdb,geraldoandradee/rocksdb,bbiao/rocksdb,JohnPJenkins/rocksdb,JoeWoo/rocksdb,facebook/rocksdb,vmx/rocksdb,norton/rocksdb,wlqGit/rocksdb,hobinyoon/rocksdb,jalexanderqed/rocksdb,SunguckLee/RocksDB,wlqGit/rocksdb,luckywhu/rocksdb,siddhartharay007/rocksdb,norton/rocksdb,makelivedotnet/rocksdb,Vaisman/rocksdb,bbiao/rocksdb,JohnPJenkins/rocksdb