Skip to content

[YUNIKORN-2797] Increase handlers.go test coverage #60

[YUNIKORN-2797] Increase handlers.go test coverage

[YUNIKORN-2797] Increase handlers.go test coverage #60

Re-run triggered September 18, 2024 04:16
Status Failure
Total duration 31s
Artifacts

pre-commit.yml

on: pull_request
Matrix: e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors
build: pkg/webservice/handlers_test.go#L336
Error return value of `http.NewRequest` is not checked (errcheck)
build: pkg/webservice/handlers_test.go#L1040
string `node-1` has 3 occurrences, but such constant `nodeID` already exists (goconst)
build: pkg/webservice/handlers_test.go#L873
string `app1` has 3 occurrences, make it a constant (goconst)
build: pkg/webservice/handlers_test.go#L1042
string `node-2` has 3 occurrences, make it a constant (goconst)
build
Process completed with exit code 2.