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

Fix realhw functests #382

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Fix realhw functests #382

wants to merge 4 commits into from

Conversation

aieri
Copy link
Contributor

@aieri aieri commented Dec 21, 2024

This commit attempts at fixing "realhw" functional tests, specifically for the following scenario:

tox -e func -- -v --realhw --model test --collectors ipmi_dcmi ipmi_sel ipmi_sensor --base [email protected] --nvidia --keep-models

List of changes:

  • Move rendering the bundle to a fixture and disable redfish if the collector isn't listed - this avoids tests complaining about incorrect redfish credentials when you're not interested in testing redfish anyway
  • Update README to consider the work we did in dev-environment.md to be able to run tests on a single machine
  • Fix incorrect hardware-exporter config search path

@aieri aieri changed the title fix functests Fix realhw functests Dec 21, 2024
@aieri
Copy link
Contributor Author

aieri commented Dec 21, 2024

Sorry I ran out of time so this remains a work in progress if someone wants to continue this work. test_cos_agent_relation fails for me for reasons I don't understand.

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.

1 participant