test: add unit test for /arana/pkg/sequence/... package #1476
Triggered via pull request
September 16, 2023 13:20
Status
Failure
Total duration
2m 45s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
reviewdog.yml
on: pull_request
runner / golangci-lint
2m 13s
runner / staticcheck
2m 35s
Annotations
6 errors
runner / golangci-lint:
pkg/sequence/group/group_test.go#L80
[golangci] reported by reviewdog 🐶
undefined: runtime.NewMockRuntime (typecheck)
Raw Output:
pkg/sequence/group/group_test.go:80:20: undefined: runtime.NewMockRuntime (typecheck)
/*
|
runner / golangci-lint:
pkg/sequence/snowflake/snowflake_test.go#L72
[golangci] reported by reviewdog 🐶
undefined: runtime.NewMockRuntime (typecheck)
Raw Output:
pkg/sequence/snowflake/snowflake_test.go:72:20: undefined: runtime.NewMockRuntime (typecheck)
/*
|
runner / golangci-lint
reviewdog exited with status code: 1
|
runner / staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/arana-db/arana/pkg/sequence/group [github.com/arana-db/arana/pkg/sequence/group.test]
pkg/sequence/group/group_test.go:80:20: undefined: runtime.NewMockRuntime
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/arana-db/arana/pkg/sequence/group [github.com/arana-db/arana/pkg/sequence/group.test]\npkg/sequence/group/group_test.go:80:20: undefined: runtime.NewMockRuntime","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
runner / staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/arana-db/arana/pkg/sequence/snowflake [github.com/arana-db/arana/pkg/sequence/snowflake.test]
pkg/sequence/snowflake/snowflake_test.go:72:20: undefined: runtime.NewMockRuntime
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/arana-db/arana/pkg/sequence/snowflake [github.com/arana-db/arana/pkg/sequence/snowflake.test]\npkg/sequence/snowflake/snowflake_test.go:72:20: undefined: runtime.NewMockRuntime","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
runner / staticcheck
Process completed with exit code 1.
|