Skip to content

[2/n] add tests for duplicate control plane zones and artifacts#18

Merged
sunshowers merged 5 commits intomainfrom
sunshowers/spr/2n-add-test-which-ensures-duplicate-control-plane-zones-are-detected
Mar 25, 2025
Merged

[2/n] add tests for duplicate control plane zones and artifacts#18
sunshowers merged 5 commits intomainfrom
sunshowers/spr/2n-add-test-which-ensures-duplicate-control-plane-zones-are-detected

Conversation

@sunshowers
Copy link
Copy Markdown
Contributor

@sunshowers sunshowers commented Mar 25, 2025

We already have code which ensures that duplicate zones and artifacts are detected. Add tests to exercise these code paths (we're going to hoist them to a higher level in a subsequent commit).

While writing this code, I realized that we don't exit with code 0 when encountering duplicate artifacts. That's not good. I'll fix it in a subsequent commit.

Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers requested a review from iliana March 25, 2025 18:59
@sunshowers sunshowers changed the title [2/n] add test which ensures duplicate control plane zones are detected [2/n] add tests for duplicate control plane zones and artifacts Mar 25, 2025
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers changed the base branch from sunshowers/spr/main.2n-add-test-which-ensures-duplicate-control-plane-zones-are-detected to main March 25, 2025 22:44
@sunshowers sunshowers merged commit ad5e0d3 into main Mar 25, 2025
@sunshowers sunshowers deleted the sunshowers/spr/2n-add-test-which-ensures-duplicate-control-plane-zones-are-detected branch March 25, 2025 22:44
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