Skip to content

The Hub UT framework should send what it received #1088

The Hub UT framework should send what it received

The Hub UT framework should send what it received #1088

Triggered via pull request August 13, 2024 21:07
Status Failure
Total duration 6m 39s
Artifacts

main.yaml

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

Annotations

10 errors and 2 warnings
Test-1.19.x: client/hub/client_test.go#L138
cannot use func(ctx context.Context, op hubtesting.Operation) hub.Response {…} (value of type func(ctx context.Context, op "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Operation) hub.Response) as type "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Responder in struct literal
Test-1.19.x: client/hub/client_test.go#L253
cannot use mockAppLogGenerator (value of type func(ctx context.Context, _ "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Operation, eventData chan<- "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Response)) as type "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".EventGenerator in struct literal
Test-1.19.x
Process completed with exit code 2.
Test-1.18.x
The job was canceled because "_19" failed.
Test-1.18.x: client/hub/client_test.go#L138
cannot use func(ctx context.Context, op hubtesting.Operation) hub.Response {…} (value of type func(ctx context.Context, op "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Operation) hub.Response) as type "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Responder in struct literal
Test-1.18.x: client/hub/client_test.go#L253
cannot use mockAppLogGenerator (value of type func(ctx context.Context, _ "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Operation, eventData chan<- "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Response)) as type "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".EventGenerator in struct literal
Test-1.18.x
The operation was canceled.
Lint: client/hub/client_test.go#L138
cannot use func(ctx context.Context, op hubtesting.Operation) hub.Response {…} (value of type func(ctx context.Context, op "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Operation) hub.Response) as type "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Responder in struct literal
Lint: client/hub/client_test.go#L253
cannot use mockAppLogGenerator (value of type func(ctx context.Context, _ "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Operation, eventData chan<- "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".Response)) as type "github.com/vmware-tanzu/tanzu-plugin-runtime/client/hub/testing".EventGenerator in struct literal (typecheck)
Lint
Process completed with exit code 2.
Test-1.19.x
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/