update tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-02-12 20:50:02 +03:00
parent 6e1f30e931
commit f92f3ca5f7
14 changed files with 59 additions and 78 deletions

View File

@@ -9,7 +9,6 @@ import (
"github.com/google/uuid"
http "github.com/unistack-org/micro-broker-http/v3"
jsoncodec "github.com/unistack-org/micro-codec-json/v3"
rmemory "github.com/unistack-org/micro-register-memory/v3"
"github.com/unistack-org/micro/v3/broker"
"github.com/unistack-org/micro/v3/register"
)
@@ -57,7 +56,7 @@ var (
)
func newTestRegister() register.Register {
return rmemory.NewRegister()
return register.NewRegister()
}
func sub(be *testing.B, c int) {