use index 0 of server array for nsq test

This commit is contained in:
Jonathan Cross
2015-10-27 15:44:22 -06:00
committed by Cameron Sparr
parent e13500fc4f
commit 0d31f40e16
+1 -1
View File
@@ -14,7 +14,7 @@ func TestConnectAndWrite(t *testing.T) {
server := []string{testutil.GetLocalHost() + ":4150"}
n := &NSQ{
Server: server,
Server: server[0],
Topic: "telegraf",
}