Skip to content
Snippets Groups Projects
Commit 359c02a5 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

Tests for GnmiTransport implementation

parent 81b0c1a5
No related branches found
No related tags found
2 merge requests!101Resolve "Increase test coverage",!90Develop
...@@ -14,10 +14,13 @@ import ( ...@@ -14,10 +14,13 @@ import (
"time" "time"
) )
var tapProto bool
func init() { func init() {
// tapProto taps get responses and requests to binary file // tapProto taps gpb.getResponse and gpb.Getrequests
// to binary file
// CAUTION only set true if you know what you do // CAUTION only set true if you know what you do
tapProto = true tapProto = false
} }
func NewGnmiTransport(config *gnmi.Config) (*Gnmi, error) { func NewGnmiTransport(config *gnmi.Config) (*Gnmi, error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment