From d48752a0ccad882239a98a9a859f461aef346231 Mon Sep 17 00:00:00 2001 From: toki Date: Wed, 12 Aug 2026 08:00:09 +0900 Subject: [PATCH] =?UTF-8?q?test(workspace):=20=ED=94=84=EB=A1=9C=EC=84=B8?= =?UTF-8?q?=EC=8A=A4=20=EB=8C=80=EA=B8=B0=20helper=EB=A5=BC=20=EC=95=88?= =?UTF-8?q?=EC=A0=95=ED=99=94=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../node/internal/workspace/command_executor_test.go | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/node/internal/workspace/command_executor_test.go b/apps/node/internal/workspace/command_executor_test.go index b87bfbda..b343c458 100644 --- a/apps/node/internal/workspace/command_executor_test.go +++ b/apps/node/internal/workspace/command_executor_test.go @@ -53,7 +53,9 @@ func TestWorkspaceCommandHelperProcess(t *testing.T) { if err := os.WriteFile(os.Getenv("IOP_START_FILE"), []byte("started"), 0o600); err != nil { os.Exit(10) } - select {} + for { + time.Sleep(time.Hour) + } case "group": cmd := exec.Command(os.Args[0], "-test.run=^TestWorkspaceCommandGrandchild$") cmd.Env = []string{"IOP_WORKSPACE_GRANDCHILD=1"} @@ -64,7 +66,9 @@ func TestWorkspaceCommandHelperProcess(t *testing.T) { _ = cmd.Process.Kill() os.Exit(12) } - select {} + for { + time.Sleep(time.Hour) + } case "sentinel": if err := os.WriteFile(os.Getenv("IOP_SENTINEL_FILE"), []byte("target-started"), 0o600); err != nil { os.Exit(13) @@ -79,7 +83,9 @@ func TestWorkspaceCommandGrandchild(t *testing.T) { if os.Getenv("IOP_WORKSPACE_GRANDCHILD") == "" { return } - select {} + for { + time.Sleep(time.Hour) + } } func newCommandRuntime(t *testing.T, root string, outputLimit int64) *Runtime {