Don't mock time.sleep with None
Don't mock time.sleep with None

Patching time.sleep with 'None' is always the wrong
thing to do, because it removes the ability for the
thread scheduler to do anything useful, changes the
semantics of the system-under-test and may lead to
deadlocks. Patch with eventlet.sleep(0) instead.

See Dan Berrange's analysis in comment #2 at
https://bugs.launchpad.net/nova/+bug/1412742

Change-Id: Iad6cb63cb579bb9e0d8ef0c6e626c80053468157
related-bug: #1412742

takeshineshiro/nova,nikesh-mahalka/nova,BeyondTheClouds/nova,vmturbo/nova,zhimin711/nova,klmitch/nova,klmitch/nova,shail2810/nova,j-carpentier/nova,whitepages/nova,varunarya10/nova_test_latest,rajalokan/nova,devendermishrajio/nova_test_latest,jianghuaw/nova,rahulunair/nova,cernops/nova,vmturbo/nova,rajalokan/nova,Francis-Liu/animated-broccoli,tudorvio/nova,gooddata/openstack-nova,bgxavier/nova,mmnelemane/nova,petrutlucian94/nova,belmiromoreira/nova,phenoxim/nova,dawnpower/nova,Yusuke1987/openstack_template,felixma/nova,klmitch/nova,cyx1231st/nova,alvarolopez/nova,tealover/nova,watonyweng/nova,barnsnake351/nova,JioCloud/nova,bigswitch/nova,mandeepdhami/nova,belmiromoreira/nova,gooddata/openstack-nova,j-carpentier/nova,bigswitch/nova,Stavitsky/nova,CEG-FYP-OpenStack/scheduler,vmturbo/nova,blueboxgroup/nova,CCI-MOC/nova,BeyondTheClouds/nova,devendermishrajio/nova_test_latest,cloudbase/nova-virtualbox,rajalokan/nova,adelina-t/nova,CloudServer/nova,openstack/nova,yatinkumbhare/openstack-nova,gooddata/openstack-nova,akash1808/nova_test_latest,edulramirez/nova,yosshy/nova,hanlind/nova,openstack/nova,tangfeixiong/nova,joker946/nova,zaina/nova,mikalstill/nova,cernops/nova,alexandrucoman/vbox-nova-driver,cloudbase/nova,nikesh-mahalka/nova,bgxavier/nova,Juniper/nova,cloudbase/nova,devendermishrajio/nova,MountainWei/nova,mmnelemane/nova,adelina-t/nova,NeCTAR-RC/nova,mahak/nova,petrutlucian94/nova,isyippee/nova,Stavitsky/nova,alvarolopez/nova,tudorvio/nova,rahulunair/nova,raildo/nova,JioCloud/nova_test_latest,Juniper/nova,Tehsmash/nova,cyx1231st/nova,sebrandon1/nova,double12gzh/nova,mahak/nova,scripnichenko/nova,takeshineshiro/nova,jeffrey4l/nova,zhimin711/nova,varunarya10/nova_test_latest,mikalstill/nova,JianyuWang/nova,NeCTAR-RC/nova,zaina/nova,shail2810/nova,tealover/nova,edulramirez/nova,akash1808/nova_test_latest,LoHChina/nova,apporc/nova,iuliat/nova,klmitch/nova,dawnpower/nova,TwinkleChawla/nova,kimjaejoong/nova,dims/nova,alaski/nova,Juniper/nova,BeyondTheClouds/nova,scripnichenko/nova,joker946/nova,vmturbo/nova,affo/nova,rahulunair/nova,cernops/nova,cloudbase/nova-virtualbox,mikalstill/nova,phenoxim/nova,rajalokan/nova,raildo/nova,Francis-Liu/animated-broccoli,double12gzh/nova,Juniper/nova,jianghuaw/nova,barnsnake351/nova,noironetworks/nova,akash1808/nova,hanlind/nova,mahak/nova,tangfeixiong/nova,JioCloud/nova_test_latest,kimjaejoong/nova,ted-gould/nova,eonpatapon/nova,CCI-MOC/nova,sebrandon1/nova,JioCloud/nova,zzicewind/nova,affo/nova,apporc/nova,gooddata/openstack-nova,mandeepdhami/nova,noironetworks/nova,fnordahl/nova,CEG-FYP-OpenStack/scheduler,fnordahl/nova,alaski/nova,thomasem/nova,alexandrucoman/vbox-nova-driver,yatinkumbhare/openstack-nova,jianghuaw/nova,watonyweng/nova,eonpatapon/nova,ted-gould/nova,jianghuaw/nova,thomasem/nova,MountainWei/nova,yosshy/nova,openstack/nova,jeffrey4l/nova,JianyuWang/nova,Tehsmash/nova,ruslanloman/nova,Yusuke1987/openstack_template,orbitfp7/nova,devendermishrajio/nova,LoHChina/nova,whitepages/nova,sebrandon1/nova,akash1808/nova,blueboxgroup/nova,felixma/nova,isyippee/nova,CloudServer/nova,zzicewind/nova,TwinkleChawla/nova,iuliat/nova,hanlind/nova,ruslanloman/nova,orbitfp7/nova,cloudbase/nova,dims/nova