(rc *retryController)
| 85 | } |
| 86 | |
| 87 | func createRetryFastHandler(rc *retryController) fasthttp.RequestHandler { |
| 88 | return func(ctx *fasthttp.RequestCtx) { |
| 89 | switch string(ctx.Path()) { |
| 90 | case "/test": |
| 91 | ctx.SetStatusCode(rc.getStatus()) |
| 92 | ctx.SetBody(ctx.Request.Body()) |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | func testRetries( |
| 98 | t *testing.T, |
no test coverage detected
searching dependent graphs…