move test data
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
proto "github.com/micro/go-micro/debug/proto"
|
||||
"github.com/micro/go-micro/registry/memory"
|
||||
"github.com/micro/go-micro/util/log"
|
||||
"github.com/micro/go-micro/util/test"
|
||||
)
|
||||
|
||||
func testShutdown(wg *sync.WaitGroup, cancel func()) {
|
||||
@@ -29,7 +30,7 @@ func testService(ctx context.Context, wg *sync.WaitGroup, name string) Service {
|
||||
// add self
|
||||
wg.Add(1)
|
||||
|
||||
r := memory.NewRegistry(memory.Services(testData))
|
||||
r := memory.NewRegistry(memory.Services(test.Data))
|
||||
|
||||
// create service
|
||||
return NewService(
|
||||
|
||||
Reference in New Issue
Block a user