Add wait for yellow to doc snippet so it runs cleanly
Add wait for yellow to doc snippet so it runs cleanly

Found by http://build-us-00.elastic.co/job/es_core_master_window-2008/3866/console

mohit/elasticsearch,zkidkid/elasticsearch,vroyer/elassandra,a2lin/elasticsearch,ricardocerq/elasticsearch,cwurm/elasticsearch,ThiagoGarciaAlves/elasticsearch,GlenRSmith/elasticsearch,mortonsykes/elasticsearch,markwalkom/elasticsearch,Helen-Zhao/elasticsearch,markwalkom/elasticsearch,LeoYao/elasticsearch,Stacey-Gammon/elasticsearch,trangvh/elasticsearch,brandonkearby/elasticsearch,fred84/elasticsearch,dongjoon-hyun/elasticsearch,IanvsPoplicola/elasticsearch,MisterAndersen/elasticsearch,fred84/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,dpursehouse/elasticsearch,bawse/elasticsearch,fernandozhu/elasticsearch,cwurm/elasticsearch,njlawton/elasticsearch,a2lin/elasticsearch,GlenRSmith/elasticsearch,StefanGor/elasticsearch,MisterAndersen/elasticsearch,henakamaMSFT/elasticsearch,s1monw/elasticsearch,rlugojr/elasticsearch,myelin/elasticsearch,scottsom/elasticsearch,palecur/elasticsearch,awislowski/elasticsearch,liweinan0423/elasticsearch,wuranbo/elasticsearch,StefanGor/elasticsearch,yanjunh/elasticsearch,fforbeck/elasticsearch,IanvsPoplicola/elasticsearch,uschindler/elasticsearch,LewayneNaidoo/elasticsearch,qwerty4030/elasticsearch,a2lin/elasticsearch,geidies/elasticsearch,dongjoon-hyun/elasticsearch,ZTE-PaaS/elasticsearch,Helen-Zhao/elasticsearch,alexshadow007/elasticsearch,njlawton/elasticsearch,umeshdangat/elasticsearch,jprante/elasticsearch,fernandozhu/elasticsearch,JSCooke/elasticsearch,umeshdangat/elasticsearch,fforbeck/elasticsearch,gingerwizard/elasticsearch,alexshadow007/elasticsearch,LewayneNaidoo/elasticsearch,mohit/elasticsearch,gfyoung/elasticsearch,yanjunh/elasticsearch,lks21c/elasticsearch,qwerty4030/elasticsearch,fred84/elasticsearch,i-am-Nathan/elasticsearch,spiegela/elasticsearch,kalimatas/elasticsearch,rajanm/elasticsearch,nilabhsagar/elasticsearch,zkidkid/elasticsearch,henakamaMSFT/elasticsearch,wangtuo/elasticsearch,winstonewert/elasticsearch,rlugojr/elasticsearch,jprante/elasticsearch,brandonkearby/elasticsearch,umeshdangat/elasticsearch,JervyShi/elasticsearch,geidies/elasticsearch,jprante/elasticsearch,mikemccand/elasticsearch,dpursehouse/elasticsearch,bawse/elasticsearch,winstonewert/elasticsearch,spiegela/elasticsearch,yanjunh/elasticsearch,jimczi/elasticsearch,camilojd/elasticsearch,Shepard1212/elasticsearch,sreeramjayan/elasticsearch,JervyShi/elasticsearch,zkidkid/elasticsearch,nknize/elasticsearch,rlugojr/elasticsearch,gfyoung/elasticsearch,rajanm/elasticsearch,naveenhooda2000/elasticsearch,nezirus/elasticsearch,trangvh/elasticsearch,LewayneNaidoo/elasticsearch,HonzaKral/elasticsearch,sneivandt/elasticsearch,markwalkom/elasticsearch,glefloch/elasticsearch,obourgain/elasticsearch,JervyShi/elasticsearch,StefanGor/elasticsearch,pozhidaevak/elasticsearch,dongjoon-hyun/elasticsearch,gingerwizard/elasticsearch,sreeramjayan/elasticsearch,strapdata/elassandra,mortonsykes/elasticsearch,wuranbo/elasticsearch,vroyer/elasticassandra,HonzaKral/elasticsearch,Shepard1212/elasticsearch,i-am-Nathan/elasticsearch,artnowo/elasticsearch,sneivandt/elasticsearch,Stacey-Gammon/elasticsearch,mjason3/elasticsearch,wenpos/elasticsearch,LeoYao/elasticsearch,avikurapati/elasticsearch,s1monw/elasticsearch,IanvsPoplicola/elasticsearch,JSCooke/elasticsearch,markwalkom/elasticsearch,fernandozhu/elasticsearch,brandonkearby/elasticsearch,strapdata/elassandra,C-Bish/elasticsearch,liweinan0423/elasticsearch,JervyShi/elasticsearch,JervyShi/elasticsearch,maddin2016/elasticsearch,fernandozhu/elasticsearch,i-am-Nathan/elasticsearch,artnowo/elasticsearch,naveenhooda2000/elasticsearch,coding0011/elasticsearch,C-Bish/elasticsearch,camilojd/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,wangtuo/elasticsearch,mohit/elasticsearch,fforbeck/elasticsearch,LewayneNaidoo/elasticsearch,sreeramjayan/elasticsearch,Stacey-Gammon/elasticsearch,elasticdog/elasticsearch,LeoYao/elasticsearch,ricardocerq/elasticsearch,GlenRSmith/elasticsearch,gingerwizard/elasticsearch,MaineC/elasticsearch,jprante/elasticsearch,scottsom/elasticsearch,Shepard1212/elasticsearch,masaruh/elasticsearch,ricardocerq/elasticsearch,rajanm/elasticsearch,umeshdangat/elasticsearch,StefanGor/elasticsearch,girirajsharma/elasticsearch,awislowski/elasticsearch,JackyMai/elasticsearch,liweinan0423/elasticsearch,zkidkid/elasticsearch,C-Bish/elasticsearch,Stacey-Gammon/elasticsearch,alexshadow007/elasticsearch,bawse/elasticsearch,coding0011/elasticsearch,girirajsharma/elasticsearch,wenpos/elasticsearch,Shepard1212/elasticsearch,palecur/elasticsearch,elasticdog/elasticsearch,mortonsykes/elasticsearch,coding0011/elasticsearch,markwalkom/elasticsearch,nazarewk/elasticsearch,wenpos/elasticsearch,mikemccand/elasticsearch,yanjunh/elasticsearch,alexshadow007/elasticsearch,robin13/elasticsearch,nknize/elasticsearch,uschindler/elasticsearch,fforbeck/elasticsearch,trangvh/elasticsearch,gfyoung/elasticsearch,girirajsharma/elasticsearch,C-Bish/elasticsearch,IanvsPoplicola/elasticsearch,bawse/elasticsearch,JSCooke/elasticsearch,nilabhsagar/elasticsearch,henakamaMSFT/elasticsearch,JervyShi/elasticsearch,nknize/elasticsearch,MaineC/elasticsearch,winstonewert/elasticsearch,scorpionvicky/elasticsearch,pozhidaevak/elasticsearch,mortonsykes/elasticsearch,Helen-Zhao/elasticsearch,girirajsharma/elasticsearch,jprante/elasticsearch,palecur/elasticsearch,wenpos/elasticsearch,glefloch/elasticsearch,JackyMai/elasticsearch,trangvh/elasticsearch,rlugojr/elasticsearch,gmarz/elasticsearch,shreejay/elasticsearch,robin13/elasticsearch,yanjunh/elasticsearch,i-am-Nathan/elasticsearch,ZTE-PaaS/elasticsearch,robin13/elasticsearch,jimczi/elasticsearch,obourgain/elasticsearch,nazarewk/elasticsearch,scottsom/elasticsearch,mjason3/elasticsearch,mohit/elasticsearch,ThiagoGarciaAlves/elasticsearch,vroyer/elassandra,nazarewk/elasticsearch,ZTE-PaaS/elasticsearch,ThiagoGarciaAlves/elasticsearch,myelin/elasticsearch,IanvsPoplicola/elasticsearch,gmarz/elasticsearch,trangvh/elasticsearch,uschindler/elasticsearch,pozhidaevak/elasticsearch,nazarewk/elasticsearch,gingerwizard/elasticsearch,njlawton/elasticsearch,nezirus/elasticsearch,sreeramjayan/elasticsearch,rlugojr/elasticsearch,lks21c/elasticsearch,nazarewk/elasticsearch,dpursehouse/elasticsearch,ThiagoGarciaAlves/elasticsearch,zkidkid/elasticsearch,uschindler/elasticsearch,s1monw/elasticsearch,obourgain/elasticsearch,LeoYao/elasticsearch,wuranbo/elasticsearch,wangtuo/elasticsearch,elasticdog/elasticsearch,kalimatas/elasticsearch,nezirus/elasticsearch,mikemccand/elasticsearch,masaruh/elasticsearch,Shepard1212/elasticsearch,mortonsykes/elasticsearch,glefloch/elasticsearch,henakamaMSFT/elasticsearch,lks21c/elasticsearch,myelin/elasticsearch,HonzaKral/elasticsearch,HonzaKral/elasticsearch,scorpionvicky/elasticsearch,MisterAndersen/elasticsearch,rajanm/elasticsearch,awislowski/elasticsearch,i-am-Nathan/elasticsearch,maddin2016/elasticsearch,strapdata/elassandra,rajanm/elasticsearch,ricardocerq/elasticsearch,avikurapati/elasticsearch,ZTE-PaaS/elasticsearch,lks21c/elasticsearch,shreejay/elasticsearch,JSCooke/elasticsearch,ZTE-PaaS/elasticsearch,sneivandt/elasticsearch,fred84/elasticsearch,nilabhsagar/elasticsearch,masaruh/elasticsearch,robin13/elasticsearch,njlawton/elasticsearch,fred84/elasticsearch,elasticdog/elasticsearch,a2lin/elasticsearch,kalimatas/elasticsearch,fforbeck/elasticsearch,s1monw/elasticsearch,glefloch/elasticsearch,MisterAndersen/elasticsearch,gmarz/elasticsearch,camilojd/elasticsearch,obourgain/elasticsearch,mjason3/elasticsearch,strapdata/elassandra,kalimatas/elasticsearch,vroyer/elasticassandra,vroyer/elassandra,sreeramjayan/elasticsearch,pozhidaevak/elasticsearch,sreeramjayan/elasticsearch,scottsom/elasticsearch,wangtuo/elasticsearch,LewayneNaidoo/elasticsearch,strapdata/elassandra5-rc,GlenRSmith/elasticsearch,qwerty4030/elasticsearch,JSCooke/elasticsearch,camilojd/elasticsearch,gmarz/elasticsearch,shreejay/elasticsearch,artnowo/elasticsearch,s1monw/elasticsearch,spiegela/elasticsearch,maddin2016/elasticsearch,uschindler/elasticsearch,nknize/elasticsearch,MisterAndersen/elasticsearch,LeoYao/elasticsearch,lks21c/elasticsearch,JackyMai/elasticsearch,scottsom/elasticsearch,ricardocerq/elasticsearch,palecur/elasticsearch,Helen-Zhao/elasticsearch,umeshdangat/elasticsearch,qwerty4030/elasticsearch,nilabhsagar/elasticsearch,spiegela/elasticsearch,liweinan0423/elasticsearch,mjason3/elasticsearch,njlawton/elasticsearch,JackyMai/elasticsearch,LeoYao/elasticsearch,elasticdog/elasticsearch,nezirus/elasticsearch,brandonkearby/elasticsearch,gingerwizard/elasticsearch,winstonewert/elasticsearch,girirajsharma/elasticsearch,henakamaMSFT/elasticsearch,myelin/elasticsearch,shreejay/elasticsearch,strapdata/elassandra,strapdata/elassandra5-rc,wuranbo/elasticsearch,kalimatas/elasticsearch,avikurapati/elasticsearch,Helen-Zhao/elasticsearch,nezirus/elasticsearch,girirajsharma/elasticsearch,geidies/elasticsearch,strapdata/elassandra5-rc,jimczi/elasticsearch,mikemccand/elasticsearch,wenpos/elasticsearch,glefloch/elasticsearch,avikurapati/elasticsearch,artnowo/elasticsearch,naveenhooda2000/elasticsearch,camilojd/elasticsearch,nilabhsagar/elasticsearch,alexshadow007/elasticsearch,MaineC/elasticsearch,pozhidaevak/elasticsearch,mikemccand/elasticsearch,qwerty4030/elasticsearch,avikurapati/elasticsearch,mjason3/elasticsearch,gfyoung/elasticsearch,camilojd/elasticsearch,ThiagoGarciaAlves/elasticsearch,MaineC/elasticsearch,cwurm/elasticsearch,dongjoon-hyun/elasticsearch,LeoYao/elasticsearch,geidies/elasticsearch,strapdata/elassandra5-rc,coding0011/elasticsearch,dpursehouse/elasticsearch,gmarz/elasticsearch,C-Bish/elasticsearch,gfyoung/elasticsearch,sneivandt/elasticsearch,cwurm/elasticsearch,masaruh/elasticsearch,dongjoon-hyun/elasticsearch,jimczi/elasticsearch,myelin/elasticsearch,Stacey-Gammon/elasticsearch,bawse/elasticsearch,markwalkom/elasticsearch,scorpionvicky/elasticsearch,ThiagoGarciaAlves/elasticsearch,shreejay/elasticsearch,scorpionvicky/elasticsearch,maddin2016/elasticsearch,JackyMai/elasticsearch,wangtuo/elasticsearch,brandonkearby/elasticsearch,mohit/elasticsearch,awislowski/elasticsearch,masaruh/elasticsearch,geidies/elasticsearch,dpursehouse/elasticsearch,palecur/elasticsearch,rajanm/elasticsearch,winstonewert/elasticsearch,spiegela/elasticsearch,awislowski/elasticsearch,scorpionvicky/elasticsearch,naveenhooda2000/elasticsearch,fernandozhu/elasticsearch,geidies/elasticsearch,cwurm/elasticsearch,maddin2016/elasticsearch,MaineC/elasticsearch,jimczi/elasticsearch,obourgain/elasticsearch,a2lin/elasticsearch,artnowo/elasticsearch,wuranbo/elasticsearch,strapdata/elassandra5-rc,gingerwizard/elasticsearch,vroyer/elasticassandra,naveenhooda2000/elasticsearch,liweinan0423/elasticsearch,coding0011/elasticsearch,sneivandt/elasticsearch,StefanGor/elasticsearch