VOL-2139 update tests to use voltha-lib-go instead of voltha-go
Change-Id: I7581bf051e8aede6c46abb894b14c5871b713378
diff --git a/tests/afrouter/suites/test2/test2.go b/tests/afrouter/suites/test2/test2.go
index 258cb64..3661dce 100644
--- a/tests/afrouter/suites/test2/test2.go
+++ b/tests/afrouter/suites/test2/test2.go
@@ -31,7 +31,7 @@
//"encoding/json"
"text/template"
//"github.com/golang/protobuf/proto"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
//pb "github.com/golang/protobuf/protoc-gen-go/descriptor"
)
diff --git a/tests/afrouter/suites/test3/test3.go b/tests/afrouter/suites/test3/test3.go
index 2fb561c..0738188 100644
--- a/tests/afrouter/suites/test3/test3.go
+++ b/tests/afrouter/suites/test3/test3.go
@@ -31,7 +31,7 @@
//"encoding/json"
"text/template"
//"github.com/golang/protobuf/proto"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
//pb "github.com/golang/protobuf/protoc-gen-go/descriptor"
)
diff --git a/tests/afrouter/templates/client.go.tmpl b/tests/afrouter/templates/client.go.tmpl
index fe559d6..ba68ed2 100644
--- a/tests/afrouter/templates/client.go.tmpl
+++ b/tests/afrouter/templates/client.go.tmpl
@@ -23,7 +23,7 @@
"google.golang.org/grpc"
"golang.org/x/net/context"
"google.golang.org/grpc/metadata"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
// Values generated by the go template
{{range .Imports}}
"{{.}}"
diff --git a/tests/afrouter/templates/main.go.tmpl b/tests/afrouter/templates/main.go.tmpl
index 0361460..5328226 100644
--- a/tests/afrouter/templates/main.go.tmpl
+++ b/tests/afrouter/templates/main.go.tmpl
@@ -27,7 +27,7 @@
"context"
//slog "log"
//"google.golang.org/grpc/grpclog"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
)
func startSut(cmdStr string) (*exec.Cmd, context.CancelFunc, error) {
diff --git a/tests/afrouter/templates/runAll.go.tmpl b/tests/afrouter/templates/runAll.go.tmpl
index 5b02376..9ad8356 100644
--- a/tests/afrouter/templates/runAll.go.tmpl
+++ b/tests/afrouter/templates/runAll.go.tmpl
@@ -25,7 +25,7 @@
"fmt"
"os/exec"
"io/ioutil"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
)
diff --git a/tests/afrouter/templates/runTests.go.tmpl b/tests/afrouter/templates/runTests.go.tmpl
index 3aa59ac..9d3fdf5 100644
--- a/tests/afrouter/templates/runTests.go.tmpl
+++ b/tests/afrouter/templates/runTests.go.tmpl
@@ -26,7 +26,7 @@
"encoding/json"
//"golang.org/x/net/context"
"google.golang.org/grpc/metadata"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
{{end}}
{{range .Imports}}
{{if .Used}}
diff --git a/tests/afrouter/templates/server.go.tmpl b/tests/afrouter/templates/server.go.tmpl
index 0f9ed48..ea95a01 100644
--- a/tests/afrouter/templates/server.go.tmpl
+++ b/tests/afrouter/templates/server.go.tmpl
@@ -27,7 +27,7 @@
"google.golang.org/grpc"
"golang.org/x/net/context"
"google.golang.org/grpc/metadata"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
// Values generated by the go template
{{range .Imports}}
"{{.}}"
diff --git a/tests/afrouter/templates/stats.go.tmpl b/tests/afrouter/templates/stats.go.tmpl
index 958bea7..be7d858 100644
--- a/tests/afrouter/templates/stats.go.tmpl
+++ b/tests/afrouter/templates/stats.go.tmpl
@@ -26,7 +26,7 @@
"io/ioutil"
"encoding/json"
//"google.golang.org/grpc/grpclog"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
)
type TestCase struct {
diff --git a/tests/afrouter/tester.go b/tests/afrouter/tester.go
index 94972ed..f82745d 100644
--- a/tests/afrouter/tester.go
+++ b/tests/afrouter/tester.go
@@ -26,7 +26,7 @@
"fmt"
"github.com/golang/protobuf/proto"
pb "github.com/golang/protobuf/protoc-gen-go/descriptor"
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
"io/ioutil"
"math"
"os"
diff --git a/tests/afrouter/tester/main.go b/tests/afrouter/tester/main.go
index 1037de0..ce07524 100644
--- a/tests/afrouter/tester/main.go
+++ b/tests/afrouter/tester/main.go
@@ -22,7 +22,7 @@
package main
import (
- "github.com/opencord/voltha-go/common/log"
+ "github.com/opencord/voltha-lib-go/pkg/log"
)
func main() {