on main help sign in
ci: fix test race condition
73fec04Andrey Nering
internal/agent/agent_test.go−2
@@ -656,7 +656,6 @@ func BenchmarkBuildSummaryPrompt(b *testing.B) {
656}
656}
657
657
658func TestPreparePrompt_OrphanedToolUse(t *testing.T) {
658func TestPreparePrompt_OrphanedToolUse(t *testing.T) {
659− t.Parallel()
660 env := testEnv(t)
659 env := testEnv(t)
661 sa := testSessionAgent(env, nil, nil, "test prompt")
660 sa := testSessionAgent(env, nil, nil, "test prompt")
662 agent := sa.(*sessionAgent)
661 agent := sa.(*sessionAgent)
@@ -724,7 +723,6 @@ func TestPreparePrompt_OrphanedToolUse(t *testing.T) {
724}
723}
725
724
726func TestPreparePrompt_OrphanedToolUseMixed(t *testing.T) {
725func TestPreparePrompt_OrphanedToolUseMixed(t *testing.T) {
727− t.Parallel()
728 env := testEnv(t)
726 env := testEnv(t)
729 sa := testSessionAgent(env, nil, nil, "test prompt")
727 sa := testSessionAgent(env, nil, nil, "test prompt")
730 agent := sa.(*sessionAgent)
728 agent := sa.(*sessionAgent)