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

[integration-test] : add integration tests for path filter #316

Open
akhilerm opened this issue Sep 30, 2019 · 2 comments
Open

[integration-test] : add integration tests for path filter #316

akhilerm opened this issue Sep 30, 2019 · 2 comments
Assignees

Comments

@akhilerm
Copy link
Contributor

Node-Disk-Manager uses a ConfigMap to store the configuration and initializes based on this config. Path-filter is one such filter-configuration that is used by NDM to check whether a particular disk present on the host needs to be processed by NDM or not.

eg: if excludePath: "/dev/sda,/dev/sdb" is specified in the ConfigMap, NDM will not process nor create BlockDevices for sda and sdb.
Integration tests need to be written to make sure that corresponding changes in configmap are taken by NDM daemon.

Steps:

  1. Create and attach a disk
  2. Check for the blockdevice created
  3. Add the path of disk in exclude filter
  4. Restart NDM pod
  5. Check whether the blockdevice is inactive.
@Nivedita-coder
Copy link

I would like to work on this issue.

@akhilerm
Copy link
Contributor Author

@Nivedita-coder I has assigned the issue.

@akhilerm akhilerm added this to To do in NDM via automation Aug 25, 2021
@Abhinandan-Purkait Abhinandan-Purkait removed this from To do in NDM Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants