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

Run test-suite with plugins enabled now that we can #2639

Merged
merged 3 commits into from
Sep 1, 2023

Conversation

pmatilai
Copy link
Member

@pmatilai pmatilai commented Sep 1, 2023

With the fancy new container-based test-suite, we can actually enable plugins in the test-suite 🥳

The first commit is required for doing this, the second is merely for consistency.

@pmatilai pmatilai added the test Testsuite-related label Sep 1, 2023
…ilable

Same as commit 708e613, this message
will just annoy and confuse users in situations where DBus service is
not running at all, such as single-user mode and minimal container type
environments. Like our own test-suite. Rather than entirely suppress
the error, issue a debug log though.
Make systemd_inhibit plugin behave identically to dbus_announce in the
previous commit: when DBus service isn't available, emit a debug level
message rather than completely suppressing the message to keep things
troubleshootable.
@dmnks
Copy link
Contributor

dmnks commented Sep 1, 2023

LGTM! Of course, not all of the plugins will work in a container setup but as long as it's handled gracefully in RPM (which the other two commits do), there's no reason to disable them any more. Nice!

@pmatilai
Copy link
Member Author

pmatilai commented Sep 1, 2023

Yup, I expect we need to (be able to) selectively disable some plugins at times, and we'll need some better mechanisms for doing so than we have now, but we'll cross that bridge when we come to it 😁

@pmatilai pmatilai merged commit 4712c9c into rpm-software-management:master Sep 1, 2023
1 check passed
@pmatilai pmatilai deleted the testplugins-pr branch September 1, 2023 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testsuite-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants