@@ -200,7 +200,7 @@ func TestAgentRunner_RealClaude(t *testing.T) {
200200 }
201201 }
202202 r := NewAgentRunner (info )
203- out , err := r .Run (context .Background (), "Say hello in exactly one word." , 30 * time . Second )
203+ out , err := r .Run (context .Background (), "Say hello in exactly one word." , defaultDelegateTimeout )
204204 if err != nil {
205205 t .Fatalf ("Run: %v" , err )
206206 }
@@ -222,7 +222,7 @@ func TestAgentRunner_RealGemini(t *testing.T) {
222222 }
223223 }
224224 r := NewAgentRunner (info )
225- out , err := r .Run (context .Background (), "Say hello in exactly one word." , 30 * time . Second )
225+ out , err := r .Run (context .Background (), "Say hello in exactly one word." , defaultDelegateTimeout )
226226 if err != nil {
227227 if strings .Contains (err .Error (), "Permission" ) || strings .Contains (err .Error (), "denied" ) || strings .Contains (err .Error (), "auth" ) {
228228 t .Skipf ("gemini auth not configured: %v" , err )
@@ -247,7 +247,7 @@ func TestAgentRunner_RealCodex(t *testing.T) {
247247 }
248248 }
249249 r := NewAgentRunner (info )
250- out , err := r .Run (context .Background (), "Say hello in exactly one word." , 30 * time . Second )
250+ out , err := r .Run (context .Background (), "Say hello in exactly one word." , defaultDelegateTimeout )
251251 if err != nil {
252252 if strings .Contains (err .Error (), "auth" ) || strings .Contains (err .Error (), "API key" ) || strings .Contains (err .Error (), "login" ) {
253253 t .Skipf ("codex auth not configured: %v" , err )
0 commit comments