MCPcopy Create free account
hub / github.com/alibaba/open-code-review / TestCommentWorkerPool_AwaitEmpty

Function TestCommentWorkerPool_AwaitEmpty

internal/llmloop/pool_test.go:99–105  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

97}
98
99func TestCommentWorkerPool_AwaitEmpty(t *testing.T) {
100 p := NewCommentWorkerPool(2)
101 results := p.Await()
102 if results != nil {
103 t.Errorf("expected nil for no submissions, got %v", results)
104 }
105}
106
107func TestCommentWorkerPool_PanicIsIsolated(t *testing.T) {
108 p := NewCommentWorkerPool(2)

Callers

nothing calls this directly

Calls 2

AwaitMethod · 0.95
NewCommentWorkerPoolFunction · 0.70

Tested by

no test coverage detected