use index 0 of server array for nsq test
This commit is contained in:
parent
6671a8d88b
commit
4155ab5a8b
|
@ -14,7 +14,7 @@ func TestConnectAndWrite(t *testing.T) {
|
||||||
|
|
||||||
server := []string{testutil.GetLocalHost() + ":4150"}
|
server := []string{testutil.GetLocalHost() + ":4150"}
|
||||||
n := &NSQ{
|
n := &NSQ{
|
||||||
Server: server,
|
Server: server[0],
|
||||||
Topic: "telegraf",
|
Topic: "telegraf",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue