fix mysql race in tests
fix mysql race in tests

because of testr, we can't assume the migrations tests run in
sequence, so they make run all at the same time. This is fine for
our in memory sqlite db, but when talking to a real external
database, not so good.

Since a second mysql test was added, we started racing on these
migrations them often hitting at the same time causing random fails
in gate.

Fix this by moving all the mysql tests into 1 test function, so we
won't race.

Fixes bug #1101874

Change-Id: I7627f3bd510266c99af018d355f960b352573759

redhat-openstack/nova,sacharya/nova,devendermishrajio/nova,BeyondTheClouds/nova,imsplitbit/nova,maheshp/novatest,DirectXMan12/nova-hacking,rajalokan/nova,LoHChina/nova,redhat-openstack/nova,yatinkumbhare/openstack-nova,joker946/nova,whitepages/nova,double12gzh/nova,alaski/nova,shootstar/novatest,hanlind/nova,rickerc/nova_audit,Brocade-OpenSource/OpenStack-DNRM-Nova,jeffrey4l/nova,phenoxim/nova,JioCloud/nova_test_latest,double12gzh/nova,maoy/zknova,MountainWei/nova,luogangyi/bcec-nova,mikalstill/nova,tudorvio/nova,silenceli/nova,alvarolopez/nova,JioCloud/nova,jianghuaw/nova,rajalokan/nova,maoy/zknova,leilihh/nova,OpenAcademy-OpenStack/nova-scheduler,barnsnake351/nova,JianyuWang/nova,scripnichenko/nova,isyippee/nova,gooddata/openstack-nova,noironetworks/nova,isyippee/nova,ruslanloman/nova,CiscoSystems/nova,ewindisch/nova,eayunstack/nova,bclau/nova,affo/nova,JioCloud/nova_test_latest,adelina-t/nova,dstroppa/openstack-smartos-nova-grizzly,citrix-openstack-build/nova,gooddata/openstack-nova,saleemjaveds/https-github.com-openstack-nova,zhimin711/nova,kimjaejoong/nova,mandeepdhami/nova,rahulunair/nova,NeCTAR-RC/nova,sridevikoushik31/nova,affo/nova,bclau/nova,dawnpower/nova,ntt-sic/nova,jianghuaw/nova,eharney/nova,qwefi/nova,apporc/nova,jeffrey4l/nova,sridevikoushik31/nova,cloudbase/nova-virtualbox,sebrandon1/nova,shail2810/nova,mandeepdhami/nova,angdraug/nova,eharney/nova,projectcalico/calico-nova,bigswitch/nova,mmnelemane/nova,berrange/nova,Yuriy-Leonov/nova,devoid/nova,varunarya10/nova_test_latest,CEG-FYP-OpenStack/scheduler,watonyweng/nova,phenoxim/nova,dims/nova,sebrandon1/nova,gspilio/nova,rickerc/nova_audit,saleemjaveds/https-github.com-openstack-nova,cloudbau/nova,ruslanloman/nova,hanlind/nova,petrutlucian94/nova,barnsnake351/nova,DirectXMan12/nova-hacking,varunarya10/nova_test_latest,CiscoSystems/nova,raildo/nova,bigswitch/nova,belmiromoreira/nova,rrader/nova-docker-plugin,vmturbo/nova,spring-week-topos/nova-week,maheshp/novatest,petrutlucian94/nova,apporc/nova,maheshp/novatest,Francis-Liu/animated-broccoli,viggates/nova,MountainWei/nova,vladikr/nova_drafts,tianweizhang/nova,yosshy/nova,klmitch/nova,sridevikoushik31/openstack,yrobla/nova,rahulunair/nova,joker946/nova,ted-gould/nova,shahar-stratoscale/nova,JioCloud/nova,cloudbase/nova,TwinkleChawla/nova,jianghuaw/nova,Yusuke1987/openstack_template,cloudbase/nova,zhimin711/nova,bgxavier/nova,felixma/nova,eonpatapon/nova,rajalokan/nova,Francis-Liu/animated-broccoli,yrobla/nova,Juniper/nova,Brocade-OpenSource/OpenStack-DNRM-Nova,plumgrid/plumgrid-nova,berrange/nova,felixma/nova,cloudbau/nova,Juniper/nova,Triv90/Nova,Metaswitch/calico-nova,shail2810/nova,akash1808/nova_test_latest,blueboxgroup/nova,klmitch/nova,leilihh/nova,dims/nova,devendermishrajio/nova_test_latest,noironetworks/nova,maelnor/nova,tanglei528/nova,devendermishrajio/nova,klmitch/nova,DirectXMan12/nova-hacking,mahak/nova,Triv90/Nova,plumgrid/plumgrid-nova,eonpatapon/nova,leilihh/novaha,sridevikoushik31/nova,SUSE-Cloud/nova,whitepages/nova,rrader/nova-docker-plugin,cernops/nova,j-carpentier/nova,tealover/nova,bgxavier/nova,j-carpentier/nova,gspilio/nova,raildo/nova,iuliat/nova,gooddata/openstack-nova,CCI-MOC/nova,Juniper/nova,tealover/nova,ewindisch/nova,Stavitsky/nova,mgagne/nova,cernops/nova,devendermishrajio/nova_test_latest,maelnor/nova,akash1808/nova,shootstar/novatest,luogangyi/bcec-nova,adelina-t/nova,Stavitsky/nova,yrobla/nova,belmiromoreira/nova,CloudServer/nova,orbitfp7/nova,hanlind/nova,watonyweng/nova,sebrandon1/nova,CEG-FYP-OpenStack/scheduler,alexandrucoman/vbox-nova-driver,tianweizhang/nova,cloudbase/nova,Metaswitch/calico-nova,nikesh-mahalka/nova,akash1808/nova_test_latest,Yusuke1987/openstack_template,shahar-stratoscale/nova,mikalstill/nova,angdraug/nova,gspilio/nova,sridevikoushik31/openstack,Tehsmash/nova,tangfeixiong/nova,kimjaejoong/nova,klmitch/nova,yosshy/nova,badock/nova,petrutlucian94/nova_dev,openstack/nova,thomasem/nova,dstroppa/openstack-smartos-nova-grizzly,cernops/nova,OpenAcademy-OpenStack/nova-scheduler,thomasem/nova,SUSE-Cloud/nova,takeshineshiro/nova,mahak/nova,fnordahl/nova,dawnpower/nova,akash1808/nova,ted-gould/nova,alvarolopez/nova,blueboxgroup/nova,vmturbo/nova,rahulunair/nova,edulramirez/nova,mahak/nova,projectcalico/calico-nova,mikalstill/nova,vmturbo/nova,TieWei/nova,yatinkumbhare/openstack-nova,TieWei/nova,spring-week-topos/nova-week,TwinkleChawla/nova,cloudbase/nova-virtualbox,alaski/nova,CCI-MOC/nova,zzicewind/nova,openstack/nova,zaina/nova,Triv90/Nova,iuliat/nova,qwefi/nova,vmturbo/nova,tudorvio/nova,viggates/nova,eayunstack/nova,maoy/zknova,CloudServer/nova,virtualopensystems/nova,rajalokan/nova,zzicewind/nova,BeyondTheClouds/nova,sridevikoushik31/openstack,jianghuaw/nova,scripnichenko/nova,Tehsmash/nova,mgagne/nova,openstack/nova,orbitfp7/nova,dstroppa/openstack-smartos-nova-grizzly,LoHChina/nova,badock/nova,BeyondTheClouds/nova,silenceli/nova,edulramirez/nova,takeshineshiro/nova,cyx1231st/nova,tangfeixiong/nova,citrix-openstack-build/nova,nikesh-mahalka/nova,fnordahl/nova,gooddata/openstack-nova,ntt-sic/nova,Juniper/nova,petrutlucian94/nova_dev,Yuriy-Leonov/nova,mmnelemane/nova,devoid/nova,zaina/nova,JianyuWang/nova,imsplitbit/nova,NeCTAR-RC/nova,cyx1231st/nova,vladikr/nova_drafts,alexandrucoman/vbox-nova-driver,virtualopensystems/nova,sacharya/nova,tanglei528/nova,sridevikoushik31/nova,leilihh/novaha