Refer test/util from go-mesh/mesher-tools repo
diff --git a/.travis.yml b/.travis.yml
index bd97014..4f90ccd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@
- mkdir -p $HOME/gopath/src/github.com/go-mesh/mesher
- rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/go-mesh/mesher
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/go-mesh/mesher
- - export KUBE_CONFIG=$HOME/gopath/src/github.com/go-mesh/mesher/test/util/sample_kubeconfig
+ - export KUBE_CONFIG=$HOME/gopath/src/github.com/go-mesh/mesher/vendor/github.com/go-mesh/mesher-tools/test/util/sample_kubeconfig
- cd $HOME/gopath/src/github.com/go-mesh/mesher
jobs:
include:
diff --git a/go.mod b/go.mod
index 3e2b6f8..bbadbc6 100644
--- a/go.mod
+++ b/go.mod
@@ -10,6 +10,7 @@
github.com/go-chassis/go-cc-client v0.0.0-20180831085349-c2bb6cef1640
github.com/go-chassis/go-chassis v0.8.3-0.20180914033538-0791a5cec8b4
github.com/go-chassis/gohessian v0.0.0-20180702061429-e5130c25af55
+ github.com/go-mesh/mesher-tools v0.0.0-20181006103649-cdc091b78a72
github.com/go-mesh/openlogging v0.0.0-20180831021158-f5d1c4e7e506
github.com/gogo/protobuf v1.1.1
github.com/gogo/status v1.0.3 // indirect
diff --git a/pkg/infras/istio/xds_test.go b/pkg/infras/istio/xds_test.go
index 3aca290..be3c1e1 100644
--- a/pkg/infras/istio/xds_test.go
+++ b/pkg/infras/istio/xds_test.go
@@ -9,7 +9,7 @@
apiv2 "github.com/envoyproxy/go-control-plane/envoy/api/v2"
"github.com/go-chassis/go-chassis/core/lager"
"github.com/go-chassis/go-chassis/pkg/util/iputil"
- testutil "github.com/go-mesh/mesher/test/util"
+ testutil "github.com/go-mesh/mesher-tools/test/util"
"istio.io/istio/tests/util"
)
diff --git a/plugins/registry/istiov2/cache_test.go b/plugins/registry/istiov2/cache_test.go
index c7fe840..6eedd34 100644
--- a/plugins/registry/istiov2/cache_test.go
+++ b/plugins/registry/istiov2/cache_test.go
@@ -8,8 +8,8 @@
"github.com/go-chassis/go-chassis/core/lager"
"github.com/go-chassis/go-chassis/core/registry"
"github.com/go-chassis/go-chassis/pkg/util/iputil"
+ testutil "github.com/go-mesh/mesher-tools/test/util"
istioinfra "github.com/go-mesh/mesher/pkg/infras/istio"
- testutil "github.com/go-mesh/mesher/test/util"
"istio.io/istio/tests/util"
)