core/ginhelper/testing.go
Function WaitForStart
has 5 return statements (exceeds 4 allowed). Open
Open
func WaitForStart(parentCtx context.Context, port int) error {
ctx, cancel := context.WithTimeout(parentCtx, serverStartTimeout)
defer cancel()
err := retry.WithBackoff(ctx, func(ctx context.Context) error {