Skip to content

add metadata unit test #2114

add metadata unit test

add metadata unit test #2114

Re-run triggered April 21, 2024 12:37
Status Failure
Total duration 2m 31s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint (1.20): metadata/client_test.go#L202
copylocks: Export passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockProtocol contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L207
copylocks: Refer passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockProtocol contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L215
copylocks: Destroy passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockProtocol contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L222
copylocks: GetURL passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockInvoker contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L226
copylocks: IsAvailable passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockInvoker contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L230
copylocks: Destroy passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockInvoker contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L234
copylocks: Invoke passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockInvoker contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L249
copylocks: GetInvoker passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockExporter contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/client_test.go#L254
copylocks: UnExport passes lock by value: dubbo.apache.org/dubbo-go/v3/metadata.mockExporter contains github.com/stretchr/testify/mock.Mock contains sync.Mutex (govet)
lint (1.20): metadata/mapping/metadata/service_name_mapping_test.go#L50
shadow: declaration of "err" shadows declaration at line 46 (govet)
lint (1.20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (1.20)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache']
lint (1.20)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache']