azure icon indicating copy to clipboard operation
azure copied to clipboard

Expand Inventory filter integration tests

Open p3ck opened this issue 9 months ago • 0 comments

Add inventory integration tests that exercise the exclude filter.

SUMMARY

Missing integration tests that cover the host filtering feature of the inventory plugin

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/inventory/azure_rm.py

ADDITIONAL INFORMATION

We had a customer report issues with the inventory plugin and while no bug was found we also didn't have a use case to validate the filtering was working as expected in the plugin.

This PR adds an additional virtual machine and tags that are not present in the first virtual machine. These filters reproduce what the customer was filtering with and the issues we ran into.

p3ck avatar May 06 '24 21:05 p3ck