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

Filtering get topology count for specific sc key bug fix #126

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

aqu-dell
Copy link

@aqu-dell aqu-dell commented Jan 10, 2025

Description

Customer was facing issue with running cert-csi functional test when they had multiple drivers installed. The issue with the test was that it was getting all the topologies for all drivers when it should only get the topologies for the specific driver being tested.

To resolve this, we will only get topology keys based on the ones listed in the storage class for the test.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1504

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

  • Reproduced the user's issue by running the functional-test without the changes. Saw that topologies for all the drivers were being retrieved and test timed out.
    Screenshot (447)

  • Reran the test with the changes and saw that only the topologies for the specific driver that was listed in the storage class was being retrieved. Test passed successfully
    Screenshot (446)

@jooseppi-luna jooseppi-luna self-requested a review January 10, 2025 23:43
jooseppi-luna
jooseppi-luna previously approved these changes Jan 10, 2025
Copy link

@jooseppi-luna jooseppi-luna left a comment

Choose a reason for hiding this comment

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

lgtm

kumarkgosa
kumarkgosa previously approved these changes Jan 13, 2025
Copy link

@kumarkgosa kumarkgosa left a comment

Choose a reason for hiding this comment

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

lgtm!

sharmilarama
sharmilarama previously approved these changes Jan 13, 2025
Copy link

@sharmilarama sharmilarama left a comment

Choose a reason for hiding this comment

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

LGTM, merge pending conditional approval for UT coverage.

@@ -0,0 +1,51 @@
/*
*
* Copyright © 2024 Dell Inc. or its subsidiaries. All Rights Reserved.

Choose a reason for hiding this comment

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

Change the copyright to 2025. Thanks!

Copy link
Author

Choose a reason for hiding this comment

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

Nice catch! Updated

Copy link

@jooseppi-luna jooseppi-luna left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

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.

7 participants