(t *testing.T)
| 336 | } |
| 337 | |
| 338 | func TestManagerSetMaxIterations(t *testing.T) { |
| 339 | m := NewManager(10, testProvider) |
| 340 | |
| 341 | if m.MaxIterations() != 10 { |
| 342 | t.Errorf("expected initial maxIter 10, got %d", m.MaxIterations()) |
| 343 | } |
| 344 | |
| 345 | m.SetMaxIterations(20) |
| 346 | |
| 347 | if m.MaxIterations() != 20 { |
| 348 | t.Errorf("expected maxIter 20, got %d", m.MaxIterations()) |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | func TestManagerRetryConfig(t *testing.T) { |
| 353 | m := NewManager(10, testProvider) |
nothing calls this directly
no test coverage detected