Skip to content

Extend worker mocks #5035

Extend worker mocks

Extend worker mocks #5035

Triggered via pull request February 26, 2024 14:01
@peterjanpeterjan
synchronize #1000
pj/mock-bus
Status Failure
Total duration 59s
Artifacts

test.yml

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

Annotations

15 errors and 2 warnings
test (ubuntu-latest, 1.22): worker/alerts.go#L1
: # go.sia.tech/renterd/worker [go.sia.tech/renterd/worker.test]
test (ubuntu-latest, 1.22): worker/mocks_test.go#L54
cannot use (*alerterMock)(nil) (value of type *alerterMock) as alerts.Alerter value in variable declaration: *alerterMock does not implement alerts.Alerter (missing method Alerts)
test (ubuntu-latest, 1.22): worker/mocks_test.go#L70
cannot use (*busMock)(nil) (value of type *busMock) as Bus value in variable declaration: *busMock does not implement Bus (missing method Alerts)
test (ubuntu-latest, 1.22): worker/worker_test.go#L44
cannot use b (variable of type *busMock) as Bus value in argument to New: *busMock does not implement Bus (missing method Alerts) (typecheck)
test (ubuntu-latest, 1.22)
issues found
test (windows-latest, 1.22)
The job was canceled because "ubuntu-latest_1_22" failed.
test (windows-latest, 1.22)
The operation was canceled.
test (ubuntu-latest, 1.21)
The job was canceled because "ubuntu-latest_1_22" failed.
test (ubuntu-latest, 1.21)
The operation was canceled.
test (windows-latest, 1.21)
The job was canceled because "ubuntu-latest_1_22" failed.
test (windows-latest, 1.21)
The operation was canceled.
test (macos-latest, 1.22)
The job was canceled because "ubuntu-latest_1_22" failed.
test (macos-latest, 1.22)
The operation was canceled.
test (macos-latest, 1.21)
The job was canceled because "ubuntu-latest_1_22" failed.
test (macos-latest, 1.21)
The operation was canceled.
test (ubuntu-latest, 1.22)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (macos-latest, 1.21)
Failed to save: "/usr/local/bin/gtar" failed with error: The process '/usr/local/bin/gtar' failed with exit code 1