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) }