Skip to content

Reduce duplication in unit tests#4046

Merged
nrwahl2 merged 9 commits intoClusterLabs:mainfrom
nrwahl2:nrwahl2-unit_test2
Feb 3, 2026
Merged

Reduce duplication in unit tests#4046
nrwahl2 merged 9 commits intoClusterLabs:mainfrom
nrwahl2:nrwahl2-unit_test2

Conversation

@nrwahl2
Copy link
Contributor

@nrwahl2 nrwahl2 commented Feb 3, 2026

First few commits from #4009.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Several unit tests are doing basically the same thing. This commit pulls
out the parts that are common to all of them, using overrides for the
ones that are unique to a particular test file.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
@nrwahl2 nrwahl2 merged commit 1cd77bd into ClusterLabs:main Feb 3, 2026
1 check passed
@nrwahl2 nrwahl2 deleted the nrwahl2-unit_test2 branch February 3, 2026 23:12
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