Skip to content

[YUNIKORN-2180] Clean up scheduler state initialization #939

[YUNIKORN-2180] Clean up scheduler state initialization

[YUNIKORN-2180] Clean up scheduler state initialization #939

Triggered via pull request December 12, 2023 16:08
Status Failure
Total duration 4m 41s
Artifacts

pre-commit.yml

on: pull_request
Matrix: e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors
build: pkg/client/apifactory_mock.go#L83
cannot use test.NewSchedulerAPIMock() (value of type *test.SchedulerAPIMock) as "github.com/apache/yunikorn-scheduler-interface/lib/go/api".SchedulerAPI value in struct literal: *test.SchedulerAPIMock does not implement "github.com/apache/yunikorn-scheduler-interface/lib/go/api".SchedulerAPI (missing method Stop)
build: pkg/client/apifactory_mock.go#L103
impossible type assertion: m.clients.SchedulerAPI.(*test.SchedulerAPIMock)
build: pkg/client/apifactory_mock.go#L109
impossible type assertion: m.clients.SchedulerAPI.(*test.SchedulerAPIMock)
build: pkg/client/apifactory_mock.go#L116
impossible type assertion: m.clients.SchedulerAPI.(*test.SchedulerAPIMock)
build: pkg/client/apifactory_mock.go#L122
impossible type assertion: m.clients.SchedulerAPI.(*test.SchedulerAPIMock)
build: pkg/client/apifactory_mock.go#L129
impossible type assertion: m.clients.SchedulerAPI.(*test.SchedulerAPIMock)
build: pkg/client/apifactory_mock.go#L135
impossible type assertion: m.clients.SchedulerAPI.(*test.SchedulerAPIMock)
build: pkg/client/apifactory_mock.go#L142
impossible type assertion: m.clients.SchedulerAPI.(*test.SchedulerAPIMock)
build
Process completed with exit code 2.