fix race in test
fix race in test

titilambert/kapacitor,adityacs/kapacitor,alerta/kapacitor,influxdb/kapacitor,sputnik13/kapacitor,yosiat/kapacitor,sputnik13/kapacitor,influxdata/kapacitor,yosiat/kapacitor,muxinc/kapacitor,bbczeuz/kapacitor,adityacs/kapacitor,influxdata/kapacitor,bbczeuz/kapacitor,yosiat/kapacitor,influxdata/kapacitor,influxdb/kapacitor,bbczeuz/kapacitor,muxinc/kapacitor,adityacs/kapacitor,titilambert/kapacitor,alerta/kapacitor,muxinc/kapacitor,alerta/kapacitor,influxdb/kapacitor,titilambert/kapacitor,sputnik13/kapacitor