[BUG]: Gopowermax unit test Pipeline fails to run tests #701
Labels
area/csi-powermax
Issue pertains to the CSI Driver for Dell EMC PowerMax
needs-triage
Issue requires triage.
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
Gopowermax unit test Pipeline fails to run unit tests
Logs
[root@csipowermax gopowermax]# make unit-test go clean -cache APIVersion="" \ go test -v -coverprofile=c.out unit_test.go unit_steps_test.go authenticate.go interface.go system.go sloprovisioning.go VolumeSnapshot.go VolumeReplication.go metrics.go -args "format=pretty" "outfile=" "test-tags=" "test_paths=unittest" go: downloading github.com/sirupsen/logrus v1.4.2 go: downloading golang.org/x/sys v0.1.0 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c command-line-arguments [command-line-arguments.test] ./authenticate.go:185:42: cannot use &Client{…} (value of type *Client) as Pmax value in assignment: *Client does not implement Pmax (missing method CreateMigrationEnvironment) ./authenticate.go:206:9: cannot use &client (value of type *Client) as Pmax value in return statement: *Client does not implement Pmax (missing method CreateMigrationEnvironment) ./authenticate.go:212:9: cannot use c (variable of type *Client) as Pmax value in return statement: *Client does not implement Pmax (missing method CreateMigrationEnvironment) FAIL command-line-arguments [build failed] FAIL make: *** [Makefile:41: unit-test] Error 1
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
make unit-test
Expected Behavior
Successful unit test run
CSM Driver(s)
Gopowermax v2.2.0
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
NA
Operating System
RHEL 7.6
The text was updated successfully, but these errors were encountered: