Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of your changes:
When we switched to UBI the part that skipped the broken systemd unit test stopped working with
daemon_test.go:39: Process org.freedesktop.systemd1 exited with status 1
which is not very descriptive.There is a bunch of things that are not there and we try to half use them so this PR simplifies the check similar to sd_booted check a looks whether
/run/systemd/system/
directory exists.This currently blocks the whole CI on unit tests.
Which issue is resolved by this Pull Request:
Resolves https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2116/pull-scylla-operator-master-unit/1833408548160147456#1:build-log.txt%3A116