use index 0 of server array for nsq test

This commit is contained in:
Jonathan Cross 2015-10-27 13:46:16 -04:00
parent 6671a8d88b
commit 4155ab5a8b
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",
}