(t *testing.T)
| 489 | } |
| 490 | |
| 491 | func TestRetryConfiguration(t *testing.T) { |
| 492 | plan := NewExecutionPlan("Test plan") |
| 493 | step := plan.AddStep("tool1", "Step 1", nil) |
| 494 | |
| 495 | // Set retry configuration |
| 496 | step.MaxRetries = 3 |
| 497 | step.RetryDelayMs = 1000 |
| 498 | |
| 499 | if plan.Steps[0].MaxRetries != 3 { |
| 500 | t.Errorf("expected MaxRetries 3, got %d", plan.Steps[0].MaxRetries) |
| 501 | } |
| 502 | if plan.Steps[0].RetryDelayMs != 1000 { |
| 503 | t.Errorf("expected RetryDelayMs 1000, got %d", plan.Steps[0].RetryDelayMs) |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | func TestExecutionOptions(t *testing.T) { |
| 508 | plan := NewExecutionPlan("Test plan") |
nothing calls this directly
no test coverage detected