From 6956dfc31ae014c0bdeedf5d3f20963b99abcddb Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 24 Jan 2026 16:02:50 +0900 Subject: internal/pkg: block on implementation entry This avoids blocking while not in Cure method of the implementation. Signed-off-by: Ophestra --- internal/pkg/exec_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/pkg/exec_test.go') diff --git a/internal/pkg/exec_test.go b/internal/pkg/exec_test.go index d3d1e155..862a28ca 100644 --- a/internal/pkg/exec_test.go +++ b/internal/pkg/exec_test.go @@ -239,7 +239,9 @@ func TestExec(t *testing.T) { cure: func(t *pkg.TContext) error { return os.MkdirAll(t.GetWorkDir().String(), 0700) }, - }}, 1<<5 /* concurrent cache hits */), cure: func(f *pkg.FContext) error { + }}, 1<<5 /* concurrent cache hits */), + + cure: func(f *pkg.FContext) error { work := f.GetWorkDir() if err := os.MkdirAll(work.String(), 0700); err != nil { return err -- cgit v1.3.1