Allow the read-only retry test to run under integration load

This commit is contained in:
2026-11-05 15:52:29 +00:00
parent 1211d72421
commit f81e0e945b
+4 -1
View File
@@ -45,7 +45,10 @@ func TestReadOnlyAgentRetriesPostAdmissionDeadline(t *testing.T) {
def := turnDefinition(t)
def.Blocks["tools"] = "read"
def.Configs["retries"] = "1"
def.Configs["timeout"] = "30ms"
// The first prompt waits on ctx.Done, so a longer allowance does not weaken
// the deadline assertion. It leaves the successful retry time to finish on
// hosts concurrently compiling/running the integration suites.
def.Configs["timeout"] = "500ms"
var sessions, prompts atomic.Int64
agent := &AgentClient{OpenCodeClient: OpenCodeClient{command: func(ctx context.Context, _ string, args ...string) ([]byte, error) {
path := args[2]