Skip to content

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

Add the framework and mocks for testing udp_proxy.go

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

Triggered via pull request November 28, 2024 13:32
Status Failure
Total duration 4m 37s
Artifacts 1

pull_request.yml

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

Annotations

8 errors and 10 warnings
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#L163
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
lint-receptor: pkg/services/udp_proxy_test.go#L171
unnecessary trailing newline (whitespace)
lint-receptor: pkg/services/udp_proxy_test.go#L149
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#L162
return with no blank line before (nlreturn)
lint-receptor
issues found
receptor (Go 1.22)
Process completed with exit code 2.
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED
receptor (Go 1.22)
A non-blocking warning has occurred during artifact zip creation: ENTRYNOTSUPPORTED

Artifacts

Produced during runtime
Name Size
test-logs-1.22
68.6 KB