Skip to content

Commit

Permalink
added no mdm unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhatdell committed Dec 4, 2024
1 parent d7827cb commit 1958691
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/drivers/powerflex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ var (
}{
{"missing secret", powerFlexCSM, powerFlexClient, fakeSecret, "no secrets found"},
{"happy path", powerFlexCSM, powerFlexClient, powerFlexSecret, ""},
{"happy path with initContainers but no MDM", csmForPowerFlex("no-mdm"), powerFlexClient, shared.MakeSecretWithJSON("no-mdm-config", pFlexNS, configJSONFileGood), ""},
{"happy path without sdc", csmForPowerFlex("no-sdc"), powerFlexClient, shared.MakeSecretWithJSON("no-sdc-config", pFlexNS, configJSONFileGood), ""},
{"bad version", powerFlexCSMBadVersion, powerFlexClient, powerFlexSecret, "not supported"},
{"bad username", csmForPowerFlex("bad-user"), powerFlexClient, shared.MakeSecretWithJSON("bad-user-config", pFlexNS, configJSONFileBadUser), "invalid value for Username"},
Expand Down

0 comments on commit 1958691

Please sign in to comment.