use index 0 of server array for nsq test

This commit is contained in:
Jonathan Cross
2015-10-27 13:46:16 -04:00
committed by Cameron Sparr
parent e13500fc4f
commit 0d31f40e16

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",
}