Fix race condition in `TestHTTPAgentJoin_WAN`
Fix race condition in `TestHTTPAgentJoin_WAN`

Thib17/consul,tugbabodrumlu/consul,mfischer-zd/consul,dankraw/consul,tugbabodrumlu/consul,vamage/consul,kikitux/consul,zendesk/consul,kikitux/consul,calgaryscientific/consul,rhyas/consul,anshprat/consul,ryotarai/consul,sroegner/consul,msn217/consul,talwai/consul,curtiszimmerman/consul,Test-Betta-Inc/upgraded-engine,JioCloud/consul,anshprat/consul,mbrukman/consul,mfischer-zd/consul,zendesk/consul,zendesk/consul,leowmjw/consul,elemet/consul,jeffawang/consul,mckennajones/consul,krmcbride/consul,Pivotal-Pierre-Delagrave/consul,mckennajones/consul,DivyaVavili/consul,samaitra/consul,turbine/consul,leowmjw/consul,turbine/consul,tomdionysus/consul,youhong316/consul,half-dead/consul,alouche/consul,sfncook/consul,sean-/consul,Thib17/consul,EasonYi/consul,youhong316/consul,Test-Betta-Inc/upgraded-engine,mbrukman/consul,EasonYi/consul,elemet/consul,talwai/consul,webhost/consul,mshean/consul,sequenceiq/consul,dustinbrown/consul,EasonYi/consul,dustinbrown/consul,sroegner/consul,guojianli/consul,vamage/consul,ryotarai/consul,beni55/consul,ryotarai/consul,AlphaStaxLLC/consul,nicholascapo/consul,msn217/consul,faiq/consul,AlphaStaxLLC/consul,AlphaStaxLLC/consul,half-dead/consul,turbine/consul,elcuervo/consul,jeffawang/consul,curtiszimmerman/consul,AlphaStaxLLC/consul,itnihao/consul,rhyas/consul,invenfantasy/consul,talwai/consul,mbrukman/consul,keyang512/consul,samaitra/consul,macb/consul,kylemcc/consul,zeroae/consul,marenzo/consul,DivyaVavili/consul,krmcbride/consul,mshean/consul,invenfantasy/consul,StefanScherer/consul,EasonYi/consul,alouche/consul,nvoron23/consul,half-dead/consul,marenzo/consul,Test-Betta-Inc/upgraded-engine,mbrukman/consul,jeffawang/consul,scalp42/consul,mfischer-zd/consul,keyang512/consul,AlphaStaxLLC/consul,nvoron23/consul,samaitra/consul,marouenj/consul,soundcloud/consul,guojianli/consul,rhyas/consul,yonglehou/consul,Spantree/consul,zeroae/consul,kingland/consul,elcuervo/consul,Thib17/consul,mfischer-zd/consul,wuub/consul,itnihao/consul,pmalmgren/consul,sroegner/consul,StefanScherer/consul,faiq/consul,wuub/consul,shaneog/consul,Eagle-X/consul,lindenlab/consul,scalp42/consul,tempbottle/consul,ffung/consul,sfncook/consul,StefanScherer/consul,pmalmgren/consul,sfncook/consul,sweeneyb/consul,krmcbride/consul,guojianli/consul,mshean/consul,alouche/consul,scalp42/consul,nvoron23/consul,linearregression/consul,zeroae/consul,tomdionysus/consul,pdf/consul,pmalmgren/consul,Eagle-X/consul,i0rek/consul,beni55/consul,vamage/consul,sweeneyb/consul,ryotarai/consul,andygoalkeeper/consul,tshak/consul,linearregression/consul,leowmjw/consul,kikitux/consul,sweeneyb/consul,kylemcc/consul,jovandeginste/consul,mfischer-zd/consul,elemet/consul,invenfantasy/consul,sweeneyb/consul,mshean/consul,EasonYi/consul,DivyaVavili/consul,lindenlab/consul,soundcloud/consul,sroegner/consul,talwai/consul,shaneog/consul,soundcloud/consul,marclop/consul,Spantree/consul,lindenlab/consul,half-dead/consul,sfncook/consul,Thib17/consul,marouenj/consul,marouenj/consul,dustinbrown/consul,andygoalkeeper/consul,elcuervo/consul,youhong316/consul,kaskavalci/consul,keyang512/consul,ryotarai/consul,elcuervo/consul,pdf/consul,JioCloud/consul,kingland/consul,kingland/consul,tamsky/consul,elcuervo/consul,beni55/consul,kaskavalci/consul,tomdionysus/consul,owlin/consul,yonglehou/consul,wuub/consul,tamsky/consul,rhyas/consul,marenzo/consul,sean-/consul,yonglehou/consul,JioCloud/consul,marouenj/consul,tugbabodrumlu/consul,andygoalkeeper/consul,bodepd/consul,turbine/consul,tomdionysus/consul,sequenceiq/consul,rhyas/consul,webhost/consul,vamage/consul,jeffawang/consul,marclop/consul,jovandeginste/consul,mshean/consul,42wim/consul,i0rek/consul,kaskavalci/consul,krmcbride/consul,bodepd/consul,turbine/consul,tamsky/consul,dankraw/consul,jovandeginste/consul,tamsky/consul,curtiszimmerman/consul,anshprat/consul,vamage/consul,StefanScherer/consul,kylemcc/consul,42wim/consul,42wim/consul,msn217/consul,marouenj/consul,marclop/consul,sean-/consul,jeffawang/consul,tshak/consul,andygoalkeeper/consul,kaskavalci/consul,sequenceiq/consul,owlin/consul,half-dead/consul,leowmjw/consul,kingland/consul,42wim/consul,webhost/consul,pmalmgren/consul,hashicorp/consul,ekristen/consul,curtiszimmerman/consul,kylemcc/consul,beni55/consul,invenfantasy/consul,tempbottle/consul,Pivotal-Pierre-Delagrave/consul,dankraw/consul,owlin/consul,elemet/consul,elemet/consul,krmcbride/consul,keyang512/consul,Test-Betta-Inc/upgraded-engine,tshak/consul,msn217/consul,mckennajones/consul,BWITS/consul,beni55/consul,zendesk/consul,sean-/consul,sean-/consul,faiq/consul,yonglehou/consul,zendesk/consul,sunadm/consul,youhong316/consul,macb/consul,sfncook/consul,Test-Betta-Inc/upgraded-engine,ffung/consul,yonglehou/consul,sequenceiq/consul,dankraw/consul,kikitux/consul,bodepd/consul,jovandeginste/consul,soundcloud/consul,wuub/consul,hashicorp/consul,linearregression/consul,i0rek/consul,talwai/consul,wuub/consul,ekristen/consul,nicholascapo/consul,youhong316/consul,kylemcc/consul,sunadm/consul,i0rek/consul,tempbottle/consul,scalp42/consul,tugbabodrumlu/consul,kaskavalci/consul,Eagle-X/consul,nicholascapo/consul,bodepd/consul,bodepd/consul,anshprat/consul,sunadm/consul,Pivotal-Pierre-Delagrave/consul,owlin/consul,samaitra/consul,Thib17/consul,calgaryscientific/consul,lindenlab/consul,tshak/consul,linearregression/consul,42wim/consul,pdf/consul,i0rek/consul,macb/consul,samaitra/consul,nvoron23/consul,pdf/consul,keyang512/consul,itnihao/consul,Spantree/consul,ekristen/consul,sroegner/consul,BWITS/consul,jovandeginste/consul,webhost/consul,nicholascapo/consul,soundcloud/consul,Pivotal-Pierre-Delagrave/consul,kingland/consul,scalp42/consul,tshak/consul,calgaryscientific/consul,zeroae/consul,mfischer-zd/consul,mbrukman/consul,tamsky/consul,JioCloud/consul,dustinbrown/consul,Spantree/consul,faiq/consul,calgaryscientific/consul,webhost/consul,itnihao/consul,mckennajones/consul,guojianli/consul,kikitux/consul,marclop/consul,itnihao/consul,alouche/consul,pmalmgren/consul,tempbottle/consul,tempbottle/consul,macb/consul,curtiszimmerman/consul,dustinbrown/consul,Eagle-X/consul,sunadm/consul,marenzo/consul,StefanScherer/consul,hashicorp/consul,dankraw/consul,ekristen/consul,ffung/consul,faiq/consul,andygoalkeeper/consul,nvoron23/consul,BWITS/consul,calgaryscientific/consul,Pivotal-Pierre-Delagrave/consul,tomdionysus/consul,marclop/consul,shaneog/consul,BWITS/consul,DivyaVavili/consul,pdf/consul,BWITS/consul,alouche/consul,ffung/consul,tugbabodrumlu/consul,marenzo/consul,nicholascapo/consul,Spantree/consul,JioCloud/consul,sweeneyb/consul,anshprat/consul,leowmjw/consul,DivyaVavili/consul,Eagle-X/consul,invenfantasy/consul,ffung/consul,nvoron23/consul,macb/consul,shaneog/consul,owlin/consul,sunadm/consul,hashicorp/consul,msn217/consul,guojianli/consul,lindenlab/consul,sequenceiq/consul,mckennajones/consul,linearregression/consul,zeroae/consul,ekristen/consul,shaneog/consul