Skip to content

Refactor acceptance tests#283

Draft
jay7x wants to merge 8 commits into
masterfrom
acceptance_rfc
Draft

Refactor acceptance tests#283
jay7x wants to merge 8 commits into
masterfrom
acceptance_rfc

Conversation

@jay7x

@jay7x jay7x commented Apr 27, 2026

Copy link
Copy Markdown
Member

No description provided.

@jay7x

jay7x commented Apr 30, 2026

Copy link
Copy Markdown
Member Author

Tested this on:

  • Ubuntu 22.04, 24.04
  • Debian 11, 12, 13 (See NOTE below)
  • Rocky 9
  • AlmaLinux 9
  • OracleLinux 8, 9

It doesn't work on RHEL10-alikes by 2 reasons:

  1. There is no support for RHEL-10 in the upstream repo (http://rpms.adiscon.com/v8-stable has no rhel-10 yet)
  2. There is either bug or feature that breaks wipe_rsyslog() helper: https://gist.github.com/jay7x/e22bad9544eef71fcf28866921f29b75. Though, I'll workaround this later.

NOTE: Debian is in a gray area at the moment. There are no official upstream builds of recent rsyslog version. There is OBS repo that has 8.2512 as latest version. I'm not sure if we should support that or wait for any clarification on Debian status (See rsyslog/rsyslog#6767). So far upstream repo is not enabled and the corresponding acceptance test is skipped.

@jay7x

jay7x commented May 4, 2026

Copy link
Copy Markdown
Member Author

One dropped part is a test with keeping existing OS rsyslog config. I have mixed feelings here. My idea is that we're testing the module, not the OS. I'd prefer maybe to introduce OS-specific default configs instead.

@kenyon

kenyon commented May 10, 2026

Copy link
Copy Markdown
Member

Looks good so far 👍

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