unity容器监听
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
433 B

package biz
import (
"context"
"git.gz.internal.jumaiyx.cn/job/room-server-clear/pkg/room"
"git.gz.internal.jumaiyx.cn/pkg/log"
"testing"
"time"
)
func TestNewBiz(t *testing.T) {
l := log.DefaultLogger()
service, err := room.NewRoomService(l)
if err != nil {
t.Fatal(err)
}
n := NewBiz(l, service)
go func() {
n.pods(context.TODO())
}()
go func() {
n.getRoom(context.TODO())
}()
time.Sleep(time.Second * 30)
}