Skip to content

Refactor test infrastructure and consolidate test utilities #56

Refactor test infrastructure and consolidate test utilities

Refactor test infrastructure and consolidate test utilities #56

Triggered via push January 28, 2026 22:38
Status Failure
Total duration 40s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Lint
issues found
Lint: plugins/security/internal/test/helper.go#L31
test helper function should start from t.Helper() (thelper)
Lint: plugins/ism/internal/test/helper.go#L42
test helper function should start from t.Helper() (thelper)
Lint: plugins/ism/internal/test/helper.go#L30
test helper function should start from t.Helper() (thelper)
Lint: opensearchtransport/connection.go#L351
`if resp != nil && resp.Body != nil` has complex nested blocks (complexity: 6) (nestif)
Lint: opensearchapi/api_cluster_test.go#L77
The line is 212 characters long, which exceeds the maximum of 140 characters. (lll)
Lint: opensearchapi/api_cluster_test.go#L71
The line is 206 characters long, which exceeds the maximum of 140 characters. (lll)
Lint: opensearchutil/testutil/helpers.go#L62
G402: TLS InsecureSkipVerify set true. (gosec)
Lint: opensearchutil/testutil/helpers.go#L30
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)