Skip to content

test: rewrite catalog entry tests as generic discovery-based validation#203

Merged
mrhillsman merged 1 commit into
mainfrom
feat/generic-catalog-entry-tests
Jun 14, 2026
Merged

test: rewrite catalog entry tests as generic discovery-based validation#203
mrhillsman merged 1 commit into
mainfrom
feat/generic-catalog-entry-tests

Conversation

@mrhillsman

Copy link
Copy Markdown
Contributor

Summary

Replace hardcoded per-entry test blocks (sysbench-specific param counts, redis-bench role names) with a single discovery loop that globs catalog/*/ and validates universal invariants for every entry: loading, schema, factory, cloud-init prefix, multi-role userdata, storage DVT counts, and service flag.

New catalog entries no longer require test code changes.

Resolves #200

@exe-prow-github-app exe-prow-github-app Bot requested a review from OchiengEd June 14, 2026 21:36
@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrhillsman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 14, 2026
Replace hardcoded per-entry test blocks (sysbench-specific param counts,
redis-bench role names) with a single discovery loop that globs catalog/*/
and validates universal invariants for every entry: loading, schema, factory,
cloud-init prefix, multi-role userdata, storage DVT counts, and service flag.

New catalog entries no longer require test code changes.

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
@mrhillsman mrhillsman force-pushed the feat/generic-catalog-entry-tests branch from 0f69c39 to 1552e57 Compare June 14, 2026 21:43
@mrhillsman mrhillsman merged commit 26afe7b into main Jun 14, 2026
3 of 4 checks passed
@mrhillsman mrhillsman deleted the feat/generic-catalog-entry-tests branch June 15, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Refactor catalog entry tests to generic discovery-based validation

1 participant