(t *testing.T)
| 584 | } |
| 585 | |
| 586 | func TestHTTPLayerTimeouts_Overrides(t *testing.T) { |
| 587 | cfg := testConfig(100, true) |
| 588 | cfg.Server.HTTP.ReadTimeoutMS = 5000 |
| 589 | cfg.Server.HTTP.WriteTimeoutMS = 6000 |
| 590 | cfg.Server.HTTP.IdleTimeoutMS = 7000 |
| 591 | r, w, i := HTTPLayerTimeouts(cfg) |
| 592 | if r != 5*time.Second || w != 6*time.Second || i != 7*time.Second { |
| 593 | t.Fatalf("got read=%v write=%v idle=%v", r, w, i) |
| 594 | } |
| 595 | } |
| 596 | |
| 597 | func TestInfer_GlobalDeadline504(t *testing.T) { |
| 598 | cfg := testConfig(10_000, false) |
nothing calls this directly
no test coverage detected