Refactor the queryAndWait in the integration tests
Refactor the queryAndWait in the integration tests

paulstuart/influxdb,mash0304/influxdb,trigrass2/influxdb,121watts/influxdb,paulstuart/influxdb,apriendeau/influxdb,timraymond/influxdb,influxdata/influxdb,egymgmbh/influxdb,brunoqc/influxdb,stvnwrgs/influxdb,roobert/influxdb,bspline/influxdb,michaelsproul/influxdb,mmaul/influxdb,endophage/influxdb,marcosnils/influxdb,egymgmbh/influxdb,paulstuart/influxdb,jonseymour/influxdb,endophage/influxdb,nickrobinson/influxdb,michaelsproul/influxdb,kingland/influxdb,brunoqc/influxdb,no2key/influxdb,imcom/influxdb,bluebreezecf/influxdb,paulstuart/influxdb,bluebreezecf/influxdb,GoIncremental/influxdb,toorop/influxdb,cannium/influxdb,mmaul/influxdb,mengjinglei/influxdb,samaitra/influxdb,arussellsaw/influxdb,pdf/influxdb,eminden/influxdb,tommymei/influxdb,mre/influxdb,marcosnils/influxdb,sudabon/influxdb,otoolep/influxdb,stvnwrgs/influxdb,archsaber/influxdb,influxdb/influxdb,otoolep/influxdb,sudabon/influxdb,apriendeau/influxdb,joaopedrotaveira/influxdb,nckturner/influxdb,GrimDerp/influxdb,jportoles/influxdb092,samaitra/influxdb,alexiri/influxdb,DanielMorsing/influxdb,endophage/influxdb,ninjasphere/influxdb,samaitra/influxdb,121watts/influxdb,tjyang/influxdb,trigrass2/influxdb,jonseymour/influxdb,rnubel/influxdb,dneuman64/influxdb,mre/influxdb,slavau/influxdb,nckturner/influxdb,sudabon/influxdb,m4ce/influxdb,mark-rushakoff/influxdb,Yong-Lee/influxdb,otoolep/influxdb,jipperinbham/influxdb,fg2it/influxdb,CrazyJvm/influxdb,pablolmiranda/influxdb,evanphx/influxdb,mengjinglei/influxdb,arussellsaw/influxdb,atyenoria/influxdb,Yong-Lee/influxdb,CVTJNII/influxdb-tjnii,mvadu/influxdb,n1tr0g/influxdb,neonstalwart/influxdb,evanphx/influxdb,tjyang/influxdb,Yong-Lee/influxdb,arussellsaw/influxdb,Ancillas/influxdb,influxdb/influxdb,CVTJNII/influxdb-tjnii,runner-mei/influxdb,mvadu/influxdb,pkittenis/influxdb,Ancillas/influxdb,opavader/influxdb,cnelissen/influxdb,pablolmiranda/influxdb,michaelsproul/influxdb,jonseymour/influxdb,atyenoria/influxdb,apigee/influxdb,mre/influxdb,nickrobinson/influxdb,CVTJNII/influxdb-tjnii,nckturner/influxdb,trigrass2/influxdb,samaitra/influxdb,n1tr0g/influxdb,wxdublin/influxdb,Mindera/influxdb,Ancillas/influxdb,linearb/influxdb,CVTJNII/influxdb-tjnii,nickscript0/influxdb,jipperinbham/influxdb,eminden/influxdb,Venu4thFeb/influxdb,arussellsaw/influxdb,daachi/influxdb,Tony133/influxdb,arussellsaw/influxdb,jgeiger/influxdb,mash0304/influxdb,ninjasphere/influxdb,linfangrong/influxdb,runcom/influxdb,brunoqc/influxdb,stvnwrgs/influxdb,linfangrong/influxdb,roobert/influxdb,mnuessler/influxdb,imcom/influxdb,mcanthony/influxdb,m4ce/influxdb,n1tr0g/influxdb,m4ce/influxdb,wxdublin/influxdb,daachi/influxdb,tuxmonteiro/influxdb,archsaber/influxdb,cnelissen/influxdb,chenziliang/influxdb,nickscript0/influxdb,pkittenis/influxdb,mnuessler/influxdb,sudabon/influxdb,ninjasphere/influxdb,no2key/influxdb,IMCG/InfluxDB,fxstein/influxdb,vladlopes/influxdb,mnuessler/influxdb,CrazyJvm/influxdb,jipperinbham/influxdb,121watts/influxdb,dneuman64/influxdb,apriendeau/influxdb,jportoles/influxdb092,fxstein/influxdb,IMCG/InfluxDB,Tony133/influxdb,wxdublin/influxdb,alexiri/influxdb,Ancillas/influxdb,eminden/influxdb,bluebreezecf/influxdb,ezotrank/influxdb,CVTJNII/influxdb-tjnii,tommymei/influxdb,roobert/influxdb,roobert/influxdb,cnelissen/influxdb,jipperinbham/influxdb,jgeiger/influxdb,slachiewicz/influxdb,rnubel/influxdb,daachi/influxdb,mark-rushakoff/influxdb,opavader/influxdb,nooproblem/influxdb,fg2it/influxdb,sudabon/influxdb,tjyang/influxdb,nckturner/influxdb,CrazyJvm/influxdb,nooproblem/influxdb,joaopedrotaveira/influxdb,dneuman64/influxdb,jgeiger/influxdb,mnuessler/influxdb,Mindera/influxdb,pdf/influxdb,jonseymour/influxdb,li-ang/influxdb,jipperinbham/influxdb,CrazyJvm/influxdb,slavau/influxdb,nickrobinson/influxdb,nickscript0/influxdb,cnelissen/influxdb,joaopedrotaveira/influxdb,bspline/influxdb,GoIncremental/influxdb,alexiri/influxdb,nckturner/influxdb,mcanthony/influxdb,n1tr0g/influxdb,CVTJNII/influxdb-tjnii,fg2it/influxdb,egymgmbh/influxdb,ASAPPinc/influxdb,tjyang/influxdb,influxdb/influxdb,neonstalwart/influxdb,kingland/influxdb,apigee/influxdb,apriendeau/influxdb,nickrobinson/influxdb,pdf/influxdb,vladlopes/influxdb,apriendeau/influxdb,luciotorre/influxdb,IMCG/InfluxDB,alexiri/influxdb,influxdb/influxdb,slavau/influxdb,jgeiger/influxdb,jonseymour/influxdb,haim0n/influxdb,toorop/influxdb,tuxmonteiro/influxdb,daachi/influxdb,jgeiger/influxdb,benbjohnson/influxdb,runcom/influxdb,pdf/influxdb,linfangrong/influxdb,fg2it/influxdb,mre/influxdb,jportoles/influxdb092,pablolmiranda/influxdb,lgpeterson/influxdb,roobert/influxdb,luciotorre/influxdb,GrimDerp/influxdb,sudabon/influxdb,GoIncremental/influxdb,mcanthony/influxdb,linearb/influxdb,Yong-Lee/influxdb,runcom/influxdb,mash0304/influxdb,rnubel/influxdb,n1tr0g/influxdb,jportoles/influxdb092,Venu4thFeb/influxdb,Mindera/influxdb,linearb/influxdb,s7v7nislands/influxdb,mmaul/influxdb,mark-rushakoff/influxdb,toorop/influxdb,opavader/influxdb,ASAPPinc/influxdb,DanielMorsing/influxdb,trigrass2/influxdb,ezotrank/influxdb,pkittenis/influxdb,samaitra/influxdb,timraymond/influxdb,li-ang/influxdb,mnuessler/influxdb,mengjinglei/influxdb,archsaber/influxdb,haim0n/influxdb,tuxmonteiro/influxdb,mark-rushakoff/influxdb,lgpeterson/influxdb,apigee/influxdb,evanphx/influxdb,DanielMorsing/influxdb,chenziliang/influxdb,fxstein/influxdb,Venu4thFeb/influxdb,bspline/influxdb,apigee/influxdb,jonseymour/influxdb,slachiewicz/influxdb,slachiewicz/influxdb,benbjohnson/influxdb,chenziliang/influxdb,s7v7nislands/influxdb,daachi/influxdb,pablolmiranda/influxdb,influxdb/influxdb,lenko-d/influxdb,luciotorre/influxdb,cannium/influxdb,tommymei/influxdb,Mindera/influxdb,fg2it/influxdb,ASAPPinc/influxdb,GoIncremental/influxdb,pablolmiranda/influxdb,endophage/influxdb,lgpeterson/influxdb,mark-rushakoff/influxdb,kingland/influxdb,runner-mei/influxdb,apigee/influxdb,marcosnils/influxdb,dneuman64/influxdb,vladlopes/influxdb,Venu4thFeb/influxdb,toorop/influxdb,dneuman64/influxdb,jipperinbham/influxdb,GrimDerp/influxdb,pkittenis/influxdb,neonstalwart/influxdb,mre/influxdb,wxdublin/influxdb,ASAPPinc/influxdb,rnubel/influxdb,linfangrong/influxdb,paulstuart/influxdb,influxdb/influxdb,daachi/influxdb,Sotfo/influxdb,joaopedrotaveira/influxdb,pkittenis/influxdb,jgeiger/influxdb,benbjohnson/influxdb,luciotorre/influxdb,DanielMorsing/influxdb,121watts/influxdb,opavader/influxdb,n1tr0g/influxdb,Sotfo/influxdb,lenko-d/influxdb,ezotrank/influxdb,Yong-Lee/influxdb,mcanthony/influxdb,runcom/influxdb,bspline/influxdb,linearb/influxdb,Tony133/influxdb,Ancillas/influxdb,mash0304/influxdb,nickrobinson/influxdb,nickscript0/influxdb,slavau/influxdb,IMCG/InfluxDB,lenko-d/influxdb,imcom/influxdb,kingland/influxdb,josephcopenhaver/influxdb,mmaul/influxdb,timraymond/influxdb,bluebreezecf/influxdb,alexiri/influxdb,linearb/influxdb,mengjinglei/influxdb,vladlopes/influxdb,Sotfo/influxdb,opavader/influxdb,marcosnils/influxdb,nooproblem/influxdb,runner-mei/influxdb,tuxmonteiro/influxdb,eminden/influxdb,m4ce/influxdb,atyenoria/influxdb,brunoqc/influxdb,bluebreezecf/influxdb,mmaul/influxdb,haim0n/influxdb,bspline/influxdb,jportoles/influxdb092,tommymei/influxdb,runner-mei/influxdb,ASAPPinc/influxdb,cannium/influxdb,mark-rushakoff/influxdb,slachiewicz/influxdb,no2key/influxdb,GrimDerp/influxdb,GoIncremental/influxdb,nickscript0/influxdb,chenziliang/influxdb,lenko-d/influxdb,m4ce/influxdb,stvnwrgs/influxdb,Mindera/influxdb,haim0n/influxdb,brunoqc/influxdb,atyenoria/influxdb,Tony133/influxdb,ninjasphere/influxdb,mvadu/influxdb,fxstein/influxdb,imcom/influxdb,egymgmbh/influxdb,josephcopenhaver/influxdb,imcom/influxdb,egymgmbh/influxdb,michaelsproul/influxdb,endophage/influxdb,mcanthony/influxdb,mash0304/influxdb,m4ce/influxdb,s7v7nislands/influxdb,archsaber/influxdb,IMCG/InfluxDB,DanielMorsing/influxdb,lgpeterson/influxdb,josephcopenhaver/influxdb,Tony133/influxdb,mvadu/influxdb,kingland/influxdb,nooproblem/influxdb,toorop/influxdb,nooproblem/influxdb,ezotrank/influxdb,ninjasphere/influxdb,lgpeterson/influxdb,Mindera/influxdb,eminden/influxdb,josephcopenhaver/influxdb,pdf/influxdb,luciotorre/influxdb,mvadu/influxdb,mnuessler/influxdb,linfangrong/influxdb,no2key/influxdb,Venu4thFeb/influxdb,otoolep/influxdb,apigee/influxdb,otoolep/influxdb,cnelissen/influxdb,josephcopenhaver/influxdb,timraymond/influxdb,stvnwrgs/influxdb,lenko-d/influxdb,cannium/influxdb,runcom/influxdb,tuxmonteiro/influxdb,slachiewicz/influxdb,s7v7nislands/influxdb,mvadu/influxdb,neonstalwart/influxdb,arussellsaw/influxdb,influxdata/influxdb,benbjohnson/influxdb,Sotfo/influxdb,tommymei/influxdb,evanphx/influxdb,michaelsproul/influxdb,pkittenis/influxdb,rnubel/influxdb,samaitra/influxdb,Sotfo/influxdb,marcosnils/influxdb,trigrass2/influxdb,atyenoria/influxdb,joaopedrotaveira/influxdb,fxstein/influxdb,slavau/influxdb,no2key/influxdb,GrimDerp/influxdb,wxdublin/influxdb,timraymond/influxdb,otoolep/influxdb