VOL-2001 resolve sca errors
Change-Id: Iee4c814e721437c6f2f0d3387cac92be498ceb99
diff --git a/internal/pkg/afrouter/round-robin-router_test.go b/internal/pkg/afrouter/round-robin-router_test.go
index 972832e..d38defc 100644
--- a/internal/pkg/afrouter/round-robin-router_test.go
+++ b/internal/pkg/afrouter/round-robin-router_test.go
@@ -19,22 +19,12 @@
import (
"fmt"
"github.com/golang/protobuf/proto"
- "github.com/opencord/voltha-go/common/log"
common_pb "github.com/opencord/voltha-protos/go/common"
"github.com/stretchr/testify/assert"
"google.golang.org/grpc"
"testing"
)
-const (
- ROUND_ROBIN_ROUTER_PROTOFILE = "../../../vendor/github.com/opencord/voltha-protos/voltha.pb"
-)
-
-func init() {
- log.SetDefaultLogger(log.JSON, log.DebugLevel, log.Fields{"instanceId": 1})
- log.AddPackage(log.JSON, log.WarnLevel, nil)
-}
-
func MakeRoundRobinTestConfig(numBackends int, numConnections int) (*RouteConfig, *RouterConfig) {
var backends []BackendConfig
@@ -77,7 +67,7 @@
ProtoService: "VolthaService",
ProtoPackage: "voltha",
Routes: []RouteConfig{routeConfig},
- ProtoFile: ROUND_ROBIN_ROUTER_PROTOFILE,
+ ProtoFile: TEST_PROTOFILE,
}
return &routeConfig, &routerConfig
}