Fix unit tests #314
Annotations
10 errors and 1 warning
Run Go test for v2
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
|
Run Go test for v2
testingutil.MakeTrainingRuntimeWrapper(ns.Name, trainingRuntimeName).Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
|
Run Go test for v2
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
|
Run Go test for v2
testingutil.MakeTrainJobTrainerWrapper().ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainJobTrainerWrapper has no field or method ContainerImage)
|
Run Go test for v2
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
|
Run Go test for v2
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
|
Run Go test for v2
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Clone().Spec).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method ContainerImage)
|
Run Go test for v2
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
|
Run Go test for v2
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
|
Run Go test for v2
Process completed with exit code 2.
|
Setup Go
Restore cache failed: Dependencies file is not found in /home/runner/work/training-operator/training-operator. Supported file pattern: go.sum
|
Loading