MCPcopy
hub / github.com/go-task/task / TestConcurrency

Function TestConcurrency

executor_test.go:492–501  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

490}
491
492func TestConcurrency(t *testing.T) {
493 t.Parallel()
494 NewExecutorTest(t,
495 WithExecutorOptions(
496 task.WithDir("testdata/concurrency"),
497 task.WithConcurrency(1),
498 ),
499 WithPostProcessFn(PPSortedLines),
500 )
501}
502
503func TestParams(t *testing.T) {
504 t.Parallel()

Callers

nothing calls this directly

Calls 3

NewExecutorTestFunction · 0.85
WithExecutorOptionsFunction · 0.85
WithPostProcessFnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…