Skip to content

ENT-14731: Added reactor github actions job and test suite outline - #6421

Merged
larsewi merged 1 commit into
cfengine:masterfrom
victormlg:cf-reactor.Tests
Oct 20, 2026
Merged

larsewi merged 1 commit into
cfengine:masterfrom
victormlg:cf-reactor.Tests

Conversation

@victormlg

@victormlg victormlg commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Outline of how to test cf-reactor. For now, the only test is for the file deleted event type, using variables. More will be added in a follow-up PR.

@victormlg
victormlg force-pushed the cf-reactor.Tests branch 3 times, most recently from f1a7692 to a470653 Compare October 19, 2026 11:11
@victormlg victormlg changed the title ENT-14731: Added reactor github actions job and test suite ENT-14731: Added reactor github actions job and test suite outline Oct 19, 2026
Comment thread libpromises/generic_agent.c Outdated
Comment thread tests/reactor/tests/001_vars.sh
Comment thread tests/reactor/tests/001_vars.test Outdated
Comment thread tests/reactor/lib.cf Outdated
- added verbose output when file is detected inside file_watcher, for the test to read
- created a parallel github actions job for reactor tests
- created a reactor test suite, with helper functions and main 'run' script

Ticket: ENT-14731
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@larsewi

larsewi commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Make sure to run shellcheck and shfmt on it ;)

@larsewi

larsewi commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

@victormlg

Copy link
Copy Markdown
Contributor Author

Make sure to run shellcheck and shfmt on it ;)

I did! I got some warnings but the fix looked very hard to read or needed to be canceled with comments. I thought that since no test runs shellcheck on these, its' ok to leave it like that

@victormlg
victormlg requested a review from larsewi October 20, 2026 16:52
@larsewi
larsewi merged commit 39d7f5e into cfengine:master Oct 20, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants