Atlas › Test

TestWaitOnNothing

Exact test identity: go.temporal.io/server/common/goro/TestWaitOnNothing

Package
go.temporal.io/server/common/goro
Suite / test hierarchy
TestWaitOnNothing
Test
TestWaitOnNothing
Introduced at
TestWaitOnNothing Frontier kind: Test frontier
Covered ranges
2
Covered lines
10
Covered files
2

Covered source

Expand a file to inspect source; the > gutter marks covered lines.

go.temporal.io/server/common/testing/parallelsuite/suite.go 7 covered LOC · 1 range

Open complete file

228 var inheritedMethods map[string]bool
229
230 > func init() { suite.go
231 > type ds struct{ Suite[*ds] }
232 > ptrType := reflect.TypeFor[*ds]()
233 > inheritedMethods = make(map[string]bool, ptrType.NumMethod())
234 > for method := range ptrType.Methods() {
235 > inheritedMethods[method.Name] = true
236 > }
237 }
238
go.temporal.io/server/common/goro/group.go 3 covered LOC · 1 range

Open complete file

44 // instance to complete. If `Go` has not been called then this function returns
45 // immediately.
46 > func (g *Group) Wait() { group.go
47 > g.wg.Wait()
48 > }
49
50 func (g *Group) init() {