Skip to content

Add the framework and mocks for testing udp_proxy.go #3458

Add the framework and mocks for testing udp_proxy.go

Add the framework and mocks for testing udp_proxy.go #3458

Triggered via pull request November 28, 2024 13:50
Status Failure
Total duration 5m 53s
Artifacts 1

pull_request.yml

on: pull_request
Matrix: receptor
Matrix: lint-receptorctl
Matrix: Receptorctl test coverage
Matrix: receptorctl
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint-receptor: pkg/services/udp_proxy_test.go#L89
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
lint-receptor: pkg/services/udp_proxy_test.go#L148
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
lint-receptor: pkg/services/udp_proxy_test.go#L156
unnecessary trailing newline (whitespace)
lint-receptor: pkg/services/udp_proxy_test.go#L88
return with no blank line before (nlreturn)
lint-receptor: pkg/services/udp_proxy_test.go#L147
return with no blank line before (nlreturn)
lint-receptor
issues found

Artifacts

Produced during runtime
Name Size
receptor-1.22
28.2 MB