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
1 changed files with 1 additions and 1 deletions

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