From 0d93ccbb795f6d56fcf8931a0a307edcc1c795c4 Mon Sep 17 00:00:00 2001 From: Manuel Kieweg <mail@manuelkieweg.de> Date: Mon, 8 Mar 2021 17:08:40 +0000 Subject: [PATCH] initialised response chan --- nucleus/integration_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nucleus/integration_test.go b/nucleus/integration_test.go index 157380b64..c92ef12fd 100644 --- a/nucleus/integration_test.go +++ b/nucleus/integration_test.go @@ -74,7 +74,11 @@ func TestGnmi_SubscribeIntegration(t *testing.T) { Password: "arista", Encoding: gpb.Encoding_JSON_IETF, } - transport,_ := NewGnmiTransport(cfg) + transport,err := NewGnmiTransport(cfg) + if err != nil { + t.Error(err) + } + transport.RespChan = make(chan *gpb.SubscribeResponse) paths := []string{"/interfaces/interface/name"} -- GitLab