etcdserver: fix TestTriggerSnap
etcdserver: fix TestTriggerSnap

Before checking, it needs to wait for snapshot goroutine to finish its
work.

msanterre/etcd,vimalk78/etcd,StorReduce/etcd,dannysauer/etcd,hongbinz/etcd,Timer/etcd,Eagle-X/etcd,xebitstudios/etcd,olark/etcd,kkaneda/etcd,yudai/etcd,ktateish/etcd,xueshanf/etcd,fasaxc/etcd,mkumatag/etcd,siddontang/etcd,endocode/etcd,visheshnp/etcd,jonboulle/etcd,OyTao/etcd_learning,svdata/etcd,jeremyeder/etcd,OyTao/etcd_learning,whuwxl/etcd,Winslett/etcd,fanminshi/etcd,bspline/etcd,linuxcer/etcd,xychu/etcd,gyuho/etcd,bdarnell/etcd,cockroachdb/etcd,heyitsanthony/etcd,jravetch/etcd,SivagnanamCiena/etcd,tempbottle/etcd,junxu/etcd,wowsoso/etcd,giantswarm/etcd,hzy001/etcd,coreos/etcd,ravigadde/etcd,insionng/etcd,snailwalker/etcd,freeloop1114/etcd,imzhulei/etcd,xdlinear/etcd,jmptrader/etcd,zaphod-concur/etcd,etcd-io/etcd,olark/etcd,sebschrader/etcd,devfreesg/etcd,hongchaodeng/etcd,mickep76/etcd,zaphod-concur/etcd,crandles/etcd,yudai/etcd,sayden/etcd,wantonsolutions/dinv-etcd,hroyrh/etcd,mickep76/etcd,polvi/etcd,heyitsanthony/etcd,es-chow/etcd,a-robinson/etcd,YuleiXiao/etcd,shakefu/etcd,plasticbox/etcd,gyuho/etcd,svdata/etcd,dnaeon/etcd,endocode/etcd,betawaffle/etcd,QuantiumTechnology/etcd,xueshanf/etcd,yichengq/etcd,shafreeck/etcd,sinsharat/etcd,joshix/etcd,jefby/etcd,lumjjb/etcd,lzbgt/etcd,bluebreezecf/etcd,gae123/etcd,mike-lerch/etcd,sofuture/etcd,cchamplin/etcd,barakmich/etcd,shawnps/etcd,armstrongli/etcd,chipironcin/etcd,mitake/etcd,purpleidea/etcd,iamqizhao/etcd,bluebreezecf/etcd,tamird/etcd,iamqizhao/etcd,yyljlyy/etcd,nkhare/etcd,youxidev/etcd,YuleiXiao/etcd,glycerine/etcd,handsomesun/etcd,steveeJ/etcd,lorneli/etcd,wantonsolutions/dinv-etcd,luxas/etcd,gouyang/etcd,TheHippo/etcd,buaazp/etcd,lorneli/etcd,Eagle-X/etcd,raoofm/etcd,Yhgenomics/etcd,ajityagaty/etcd,lzbgt/etcd,snailwalker/etcd,njharman/etcd,mike-lerch/etcd,xychu/etcd,ktateish/etcd,sinsharat/etcd,tguangch/etcd,njharman/etcd,freeloop1114/etcd,xebitstudios/etcd,whuwxl/etcd,chipironcin/etcd,insionng/etcd,akauppi/etcd,beni55/etcd,njucslqq/etcd,coreos/etcd,wfxiang08/etcd,lumjjb/etcd,jchauncey/etcd,pauldallen/etcd,jravetch/etcd,jlamillan/etcd,tamird/etcd,HideoYamauchi/etcd,hroyrh/etcd,tguangch/etcd,gae123/etcd,rnaveiras/etcd,dalanlan/etcd,oscarrr110/etcd,CrazyJvm/etcd,elimisteve/etcd,a-robinson/etcd,tempbottle/etcd,li-ang/etcd,xdlinear/etcd,wfxiang08/etcd,Timer/etcd,mqliang/etcd,fasaxc/etcd,qiaochao911/etcd,princeqjzh/etcd,glevand/coreos--etcd,ajityagaty/etcd,buaazp/etcd,ravigadde/etcd,onlyjob/etcd,tangkun75/etcd,jeremyeder/etcd,sebrandon1/etcd,luxas/etcd,QuantiumTechnology/etcd,pengzj/etcd,youxidev/etcd,improbable-io/etcd,princeqjzh/etcd,rnaveiras/etcd,fasaxc/etcd,kkaneda/etcd,glevand/coreos--etcd,shakefu/etcd,glycerine/etcd,onlyjob/etcd,etcd-io/etcd,rchicoli/etcd,raoofm/etcd,pauldallen/etcd,hongbinz/etcd,hongchaodeng/etcd,mkumatag/etcd,CrazyJvm/etcd,li-ang/etcd,qqsun8819/etcd,mkumatag/etcd,sebschrader/etcd,yichengq/etcd,dnaeon/etcd,msanterre/etcd,Winslett/etcd,westhood/etcd,oscarrr110/etcd,chenbaihu/etcd,steveeJ/etcd,xiang90/etcd,insequent/etcd,rchicoli/etcd,rnaveiras/etcd,dannysauer/etcd,hzy001/etcd,handsomesun/etcd,delkyd/etcd,elimisteve/etcd,ajityagaty/etcd,wowsoso/etcd,purpleidea/etcd,wantonsolutions/dinv-etcd,xiang90/etcd,achanda/etcd,bdarnell/etcd,qiaochao911/etcd,gtank/etcd,openedbox/etcd,plasticbox/etcd,gityf/etcd,fanminshi/etcd,SivagnanamCiena/etcd,arthurcolle/etcd,StorReduce/etcd,polvi/etcd,tangkun75/etcd,qqsun8819/etcd,kingland/etcd,honeyqa/etcd,arthurcolle/etcd,spacejam/etcd,asim/etcd,akauppi/etcd,combk8s/etcd,njucslqq/etcd,csuideal/etcd,jlamillan/etcd,fgbreel/etcd,vimalk78/etcd,TheHippo/etcd,shafreeck/etcd,fgbreel/etcd,sayden/etcd,delkyd/etcd,joshix/etcd,insequent/etcd,cockroachdb/etcd,asim/etcd,beni55/etcd,cognusion/etcd,devfreesg/etcd,kingland/etcd,swingbach/etcd,imzhulei/etcd,swingbach/etcd,es-chow/etcd,nkhare/etcd,axingblog/etcd,jefby/etcd,jchauncey/etcd,improbable-io/etcd,etcd-io/etcd,bspline/etcd,ylong/etcd,mitake/etcd,combk8s/etcd,spacejam/etcd,honeyqa/etcd,siddontang/etcd,jmptrader/etcd,axingblog/etcd,cognusion/etcd,Yhgenomics/etcd,pengzj/etcd,giantswarm/etcd,jonboulle/etcd,shawnps/etcd,visheshnp/etcd,crandles/etcd,yyljlyy/etcd,westhood/etcd,barakmich/etcd,openedbox/etcd,betawaffle/etcd,linuxcer/etcd,sebrandon1/etcd,offscale/etcd,achanda/etcd,HideoYamauchi/etcd,gityf/etcd,cchamplin/etcd,mqliang/etcd,nekto0n/etcd,armstrongli/etcd,gtank/etcd,chenbaihu/etcd,gouyang/etcd,ylong/etcd,dalanlan/etcd,mqliang/etcd,sofuture/etcd,offscale/etcd,junxu/etcd,nekto0n/etcd,csuideal/etcd