Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test variables added #178

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Test variables added #178

merged 1 commit into from
Feb 28, 2023

Conversation

abhi16394
Copy link
Collaborator

@abhi16394 abhi16394 commented Feb 27, 2023

Description

Minor changes to unit-test for powerflex -2.6

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#402

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

Unit-test :

--- PASS: TestCustom (22.46s)
--- PASS: TestCustom/TestAuthorizationServerReconcile (20.48s)
--- PASS: TestCustom/TestContentWatch (0.02s)
--- PASS: TestCustom/TestCsmFinalizerError (0.00s)
--- PASS: TestCustom/TestCsmPreCheckModuleError (0.00s)
--- PASS: TestCustom/TestCsmPreCheckModuleUnsupportedVersion (0.00s)
--- PASS: TestCustom/TestCsmPreCheckTypeError (0.00s)
--- PASS: TestCustom/TestCsmPreCheckVersionError (0.00s)
--- PASS: TestCustom/TestCsmUpgrade (0.17s)
--- PASS: TestCustom/TestCsmUpgradePathInvalid (0.02s)
--- PASS: TestCustom/TestCsmUpgradeSkipVersion (0.00s)
--- PASS: TestCustom/TestCsmUpgradeVersionTooOld (0.00s)
--- PASS: TestCustom/TestDeleteErrorReconcile (0.29s)
--- PASS: TestCustom/TestErrorInjection (0.42s)
--- PASS: TestCustom/TestIgnoreUpdatePredicate (0.00s)
--- PASS: TestCustom/TestOldStandAloneModuleCleanup (0.12s)
--- PASS: TestCustom/TestOldStandAloneModuleCleanup/Success_-Disable_Components (0.02s)
--- PASS: TestCustom/TestOldStandAloneModuleCleanup/Success
-Enable_all_modules (0.02s)
--- PASS: TestCustom/TestOldStandAloneModuleCleanup/Success
-_Disable_all_modules (0.08s)
--- PASS: TestCustom/TestPowerFlexAnnotation (0.00s)
--- PASS: TestCustom/TestPowerScaleAnnotation (0.00s)
--- PASS: TestCustom/TestPowerStoreAnnotation (0.00s)
--- PASS: TestCustom/TestReconcile (0.24s)
--- PASS: TestCustom/TestReconcileAuthorization (0.00s)
--- PASS: TestCustom/TestReconcileObservabilityError (0.00s)
--- PASS: TestCustom/TestRemoveDriver (0.58s)
--- PASS: TestCustom/TestRemoveDriver/getDriverConfig_error (0.00s)
--- PASS: TestCustom/TestRemoveDriver/delete_obj_not_found (0.02s)
--- PASS: TestCustom/TestRemoveDriver/get_SA_error (0.07s)
--- PASS: TestCustom/TestRemoveDriver/get_CR_error (0.06s)
--- PASS: TestCustom/TestRemoveDriver/get_CRB_error (0.07s)
--- PASS: TestCustom/TestRemoveDriver/get_CM_error (0.08s)
--- PASS: TestCustom/TestRemoveDriver/get_Driver_error (0.07s)
--- PASS: TestCustom/TestRemoveDriver/delete_SA_error (0.07s)
--- PASS: TestCustom/TestRemoveDriver/delete_Daemonset_error (0.08s)
--- PASS: TestCustom/TestRemoveDriver/delete_Deployment_error (0.07s)
--- PASS: TestCustom/TestRemoveModule (0.11s)
--- PASS: TestCustom/TestRemoveModule/csm (0.11s)
PASS
coverage: 88.6% of statements
ok command-line-arguments 22.508s coverage: 88.6% of statements

@@ -104,6 +104,28 @@ spec:
# Default value: false
- name: X_CSI_HEALTH_MONITOR_ENABLED
value: "false"
# X_CSI_APPROVE_SDC_ENABLED: Enables/Disable SDC approval
# Allowed values:
# true: enable SDC approval
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change this comment to be more descriptive?

#  true: Driver will attempt to approve restricted SDC by GUID during setup
#  false: Driver will not attempt to approve restricted SDC by GUID during setup

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I see this is a test file- nevermind

@JacobGros JacobGros merged commit 26a1c53 into main Feb 28, 2023
@abhi16394 abhi16394 deleted the test-powerflex-2.6 branch March 20, 2023 23:14
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants