saltstack / saltstack/salt

[E2E Test] Add E2E test for using beacons and reactors

Open
#64,655 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Tests
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Description

Add a E2E test for the documented example here: https://docs.saltproject.io/en/latest/topics/beacons/index.html#id2

To sum up the documentation for the tests:

  1. Create inotify beacon that monitors a file
  2. Create a reactor file that if that file is changed the Salt master will automatically return the contents back to the original content.
  3. Change the contents of the file
  4. Verify that the contents of the file get changed back to the original contents automatically.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the documented beacons example at https://docs.saltproject.io/en/latest/topics/beacons/index.html#id2 and identify the repository's E2E test entry point. Reproduce the inotify beacon and reactor flow described in the issue, then verify that changing the monitored file causes its contents to return to the original content automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.