node-disk-manager icon indicating copy to clipboard operation
node-disk-manager copied to clipboard

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

Open akhilerm opened this issue 6 years ago • 2 comments

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.

akhilerm avatar Sep 30 '19 15:09 akhilerm

I would like to work on this issue.

Nivedita-coder avatar Aug 16 '21 05:08 Nivedita-coder

@Nivedita-coder I has assigned the issue.

akhilerm avatar Aug 16 '21 05:08 akhilerm