Fix a coding error in db_test.cc
Fix a coding error in db_test.cc

Summary: The new function MinLevelToCompress in db_test.cc was incomplete. It needs to tell the calling function-TEST whether the test has to be skipped or not

Test Plan: make all;./db_test

Reviewers: dhruba, heyongqiang

Reviewed By: dhruba

CC: sheki

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

wenduo/rocksdb,alihalabyah/rocksdb,luckywhu/rocksdb,hobinyoon/rocksdb,tsheasha/rocksdb,tizzybec/rocksdb,ylong/rocksdb,siddhartharay007/rocksdb,ryneli/rocksdb,JohnPJenkins/rocksdb,wat-ze-hex/rocksdb,makelivedotnet/rocksdb,hobinyoon/rocksdb,IMCG/RcoksDB,dkorolev/rocksdb,Andymic/rocksdb,zhangpng/rocksdb,Applied-Duality/rocksdb,alihalabyah/rocksdb,norton/rocksdb,JackLian/rocksdb,OverlordQ/rocksdb,facebook/rocksdb,geraldoandradee/rocksdb,msb-at-yahoo/rocksdb,JackLian/rocksdb,facebook/rocksdb,ryneli/rocksdb,norton/rocksdb,OverlordQ/rocksdb,temicai/rocksdb,vmx/rocksdb,jalexanderqed/rocksdb,bbiao/rocksdb,rDSN-Projects/rocksdb.replicated,jalexanderqed/rocksdb,msb-at-yahoo/rocksdb,wlqGit/rocksdb,alihalabyah/rocksdb,wenduo/rocksdb,RyanTech/rocksdb,JoeWoo/rocksdb,RyanTech/rocksdb,facebook/rocksdb,vashstorm/rocksdb,vmx/rocksdb,JohnPJenkins/rocksdb,bbiao/rocksdb,tschottdorf/rocksdb,NickCis/rocksdb,norton/rocksdb,biddyweb/rocksdb,virtdb/rocksdb,tizzybec/rocksdb,mbarbon/rocksdb,anagav/rocksdb,ylong/rocksdb,wat-ze-hex/rocksdb,wenduo/rocksdb,flabby/rocksdb,lgscofield/rocksdb,SunguckLee/RocksDB,norton/rocksdb,fengshao0907/rocksdb,alihalabyah/rocksdb,luckywhu/rocksdb,jalexanderqed/rocksdb,SunguckLee/RocksDB,vmx/rocksdb,anagav/rocksdb,wlqGit/rocksdb,vashstorm/rocksdb,NickCis/rocksdb,rDSN-Projects/rocksdb.replicated,virtdb/rocksdb,biddyweb/rocksdb,wat-ze-hex/rocksdb,hobinyoon/rocksdb,ryneli/rocksdb,wenduo/rocksdb,luckywhu/rocksdb,skunkwerks/rocksdb,skunkwerks/rocksdb,Andymic/rocksdb,lgscofield/rocksdb,luckywhu/rocksdb,amyvmiwei/rocksdb,lgscofield/rocksdb,SunguckLee/RocksDB,tsheasha/rocksdb,wskplho/rocksdb,tschottdorf/rocksdb,facebook/rocksdb,mbarbon/rocksdb,msb-at-yahoo/rocksdb,anagav/rocksdb,vashstorm/rocksdb,tsheasha/rocksdb,virtdb/rocksdb,wat-ze-hex/rocksdb,vmx/rocksdb,tizzybec/rocksdb,anagav/rocksdb,fengshao0907/rocksdb,bbiao/rocksdb,JohnPJenkins/rocksdb,flabby/rocksdb,amyvmiwei/rocksdb,vmx/rocksdb,NickCis/rocksdb,Vaisman/rocksdb,vashstorm/rocksdb,lgscofield/rocksdb,bbiao/rocksdb,caijieming-baidu/rocksdb,siddhartharay007/rocksdb,alihalabyah/rocksdb,OverlordQ/rocksdb,sorphi/rocksdb,anagav/rocksdb,zhangpng/rocksdb,flabby/rocksdb,dkorolev/rocksdb,makelivedotnet/rocksdb,wenduo/rocksdb,skunkwerks/rocksdb,norton/rocksdb,ryneli/rocksdb,facebook/rocksdb,ylong/rocksdb,OverlordQ/rocksdb,siddhartharay007/rocksdb,wenduo/rocksdb,skunkwerks/rocksdb,RyanTech/rocksdb,SunguckLee/RocksDB,facebook/rocksdb,JackLian/rocksdb,ylong/rocksdb,flabby/rocksdb,msb-at-yahoo/rocksdb,Vaisman/rocksdb,Andymic/rocksdb,geraldoandradee/rocksdb,luckywhu/rocksdb,wat-ze-hex/rocksdb,hobinyoon/rocksdb,JoeWoo/rocksdb,flabby/rocksdb,wlqGit/rocksdb,JoeWoo/rocksdb,vmx/rocksdb,jalexanderqed/rocksdb,JoeWoo/rocksdb,zhangpng/rocksdb,kaschaeffer/rocksdb,Applied-Duality/rocksdb,tizzybec/rocksdb,caijieming-baidu/rocksdb,tschottdorf/rocksdb,SunguckLee/RocksDB,geraldoandradee/rocksdb,makelivedotnet/rocksdb,tsheasha/rocksdb,vashstorm/rocksdb,caijieming-baidu/rocksdb,Andymic/rocksdb,kaschaeffer/rocksdb,norton/rocksdb,flabby/rocksdb,JohnPJenkins/rocksdb,lgscofield/rocksdb,IMCG/RcoksDB,ryneli/rocksdb,caijieming-baidu/rocksdb,dkorolev/rocksdb,wlqGit/rocksdb,SunguckLee/RocksDB,biddyweb/rocksdb,IMCG/RcoksDB,tsheasha/rocksdb,luckywhu/rocksdb,kaschaeffer/rocksdb,fengshao0907/rocksdb,bbiao/rocksdb,Vaisman/rocksdb,IMCG/RcoksDB,geraldoandradee/rocksdb,tschottdorf/rocksdb,tizzybec/rocksdb,hobinyoon/rocksdb,jalexanderqed/rocksdb,hobinyoon/rocksdb,biddyweb/rocksdb,NickCis/rocksdb,tschottdorf/rocksdb,bbiao/rocksdb,sorphi/rocksdb,siddhartharay007/rocksdb,tsheasha/rocksdb,wskplho/rocksdb,kaschaeffer/rocksdb,RyanTech/rocksdb,amyvmiwei/rocksdb,Applied-Duality/rocksdb,NickCis/rocksdb,tizzybec/rocksdb,caijieming-baidu/rocksdb,JohnPJenkins/rocksdb,biddyweb/rocksdb,virtdb/rocksdb,hobinyoon/rocksdb,OverlordQ/rocksdb,wskplho/rocksdb,caijieming-baidu/rocksdb,wskplho/rocksdb,sorphi/rocksdb,Vaisman/rocksdb,wskplho/rocksdb,fengshao0907/rocksdb,JohnPJenkins/rocksdb,mbarbon/rocksdb,lgscofield/rocksdb,SunguckLee/RocksDB,Vaisman/rocksdb,rDSN-Projects/rocksdb.replicated,geraldoandradee/rocksdb,wat-ze-hex/rocksdb,SunguckLee/RocksDB,rDSN-Projects/rocksdb.replicated,sorphi/rocksdb,JackLian/rocksdb,zhangpng/rocksdb,JackLian/rocksdb,rDSN-Projects/rocksdb.replicated,fengshao0907/rocksdb,ylong/rocksdb,virtdb/rocksdb,siddhartharay007/rocksdb,makelivedotnet/rocksdb,lgscofield/rocksdb,IMCG/RcoksDB,JackLian/rocksdb,RyanTech/rocksdb,virtdb/rocksdb,tschottdorf/rocksdb,zhangpng/rocksdb,zhangpng/rocksdb,facebook/rocksdb,msb-at-yahoo/rocksdb,skunkwerks/rocksdb,OverlordQ/rocksdb,mbarbon/rocksdb,wlqGit/rocksdb,wlqGit/rocksdb,norton/rocksdb,vmx/rocksdb,wat-ze-hex/rocksdb,ylong/rocksdb,anagav/rocksdb,flabby/rocksdb,Applied-Duality/rocksdb,dkorolev/rocksdb,NickCis/rocksdb,ylong/rocksdb,fengshao0907/rocksdb,skunkwerks/rocksdb,IMCG/RcoksDB,msb-at-yahoo/rocksdb,caijieming-baidu/rocksdb,RyanTech/rocksdb,virtdb/rocksdb,Applied-Duality/rocksdb,JoeWoo/rocksdb,bbiao/rocksdb,sorphi/rocksdb,jalexanderqed/rocksdb,dkorolev/rocksdb,wskplho/rocksdb,tsheasha/rocksdb,geraldoandradee/rocksdb,temicai/rocksdb,temicai/rocksdb,biddyweb/rocksdb,tsheasha/rocksdb,kaschaeffer/rocksdb,JohnPJenkins/rocksdb,IMCG/RcoksDB,vmx/rocksdb,sorphi/rocksdb,siddhartharay007/rocksdb,hobinyoon/rocksdb,Applied-Duality/rocksdb,makelivedotnet/rocksdb,kaschaeffer/rocksdb,dkorolev/rocksdb,siddhartharay007/rocksdb,makelivedotnet/rocksdb,wenduo/rocksdb,Vaisman/rocksdb,jalexanderqed/rocksdb,temicai/rocksdb,amyvmiwei/rocksdb,NickCis/rocksdb,mbarbon/rocksdb,vashstorm/rocksdb,fengshao0907/rocksdb,dkorolev/rocksdb,Andymic/rocksdb,skunkwerks/rocksdb,amyvmiwei/rocksdb,temicai/rocksdb,RyanTech/rocksdb,rDSN-Projects/rocksdb.replicated,wenduo/rocksdb,JoeWoo/rocksdb,kaschaeffer/rocksdb,JackLian/rocksdb,alihalabyah/rocksdb,Andymic/rocksdb,vashstorm/rocksdb,zhangpng/rocksdb,amyvmiwei/rocksdb,ryneli/rocksdb,Andymic/rocksdb,geraldoandradee/rocksdb,facebook/rocksdb,amyvmiwei/rocksdb,sorphi/rocksdb,anagav/rocksdb,luckywhu/rocksdb,Andymic/rocksdb,mbarbon/rocksdb,Vaisman/rocksdb,JoeWoo/rocksdb,temicai/rocksdb,temicai/rocksdb,mbarbon/rocksdb,rDSN-Projects/rocksdb.replicated,bbiao/rocksdb,norton/rocksdb,Applied-Duality/rocksdb,biddyweb/rocksdb,makelivedotnet/rocksdb,ryneli/rocksdb,wlqGit/rocksdb,tizzybec/rocksdb,wskplho/rocksdb,OverlordQ/rocksdb,alihalabyah/rocksdb,wat-ze-hex/rocksdb