Skip to content

Conversation

@pkoprda
Copy link
Collaborator

@pkoprda pkoprda commented Jan 14, 2026

The fixture for checking that there is no egg-based content on the system was incorrect (it ran only once at the very beginning of the entire test run). This change fixes it so the fixture runs before every test.


This pull request should be also backported to following maintenance branches:

  • rhel-9-main (RHEL >= 9.8)

m-horky
m-horky previously approved these changes Jan 14, 2026
Copy link
Collaborator

@m-horky m-horky left a comment

Choose a reason for hiding this comment

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

ACK

@pkoprda pkoprda force-pushed the pkoprda/fix-fixture-no-egg-files branch 2 times, most recently from df03b7e to 7e7e3d6 Compare January 15, 2026 09:24
m-horky
m-horky previously approved these changes Jan 15, 2026
Copy link
Collaborator

@m-horky m-horky left a comment

Choose a reason for hiding this comment

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

OK

The fixture for checking that there is no egg-based content on the
system was incorrect (it ran only once at the very beginning of the
entire test run). This change fixes it so the fixture runs before every
test.
The fixture check_no_egg_content() is currently checking if the
/var/lib/insights does not have any file. This approach is incorrect
since some commands create content in this directory (e.g. playbook
verifier creates gpg files to verify the playbooks, host-details.json
file is created in this directory by various tests). This commit updates
it to check only for egg-based files.
@pkoprda pkoprda force-pushed the pkoprda/fix-fixture-no-egg-files branch from 4b0e5c6 to d5dd9ab Compare January 16, 2026 14:02
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.

2 participants