Skip to content

test(helm): add unit tests for Slurm partitions#161

Closed
giuliocalzo wants to merge 1 commit intoSlinkyProject:mainfrom
giuliocalzo:test/helm-partitions-unittest
Closed

test(helm): add unit tests for Slurm partitions#161
giuliocalzo wants to merge 1 commit intoSlinkyProject:mainfrom
giuliocalzo:test/helm-partitions-unittest

Conversation

@giuliocalzo
Copy link
Copy Markdown
Contributor

Summary

Adds helm-unittest coverage for partition-related Helm values:

  • values.partitions — lines emitted into the Controller CR spec.extraConf (default all partition, extra partitions, configMap-built options, disabled partitions).
  • ValidationfailedTemplate assertions when a partition references a missing NodeSet or has an empty nodesets list.
  • nodesets.*.partition — NodeSet CR spec.partition from raw config, from configMap, omitted when partition is null, and default enabled: false.

Test plan

  • helm unittest --strict helm/slurm (or make helm-unittest)

Add helm-unittest coverage for values.partitions (Controller extraConf)
and nodesets.*.partition (NodeSet CR), including invalid partition
validation via failedTemplate assertions.
@vivian-hafener
Copy link
Copy Markdown
Contributor

This has been merged: 6deef84

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