diff --git a/nucleus/integration_test.go b/nucleus/integration_test.go
index 157380b64571cadba41f88e6f952c1d3eacde244..c92ef12fd0d2dd0c13e14314844af46aeb8310af 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"}