Skip to content

test: tolerate namespace not found errors#2021

Merged
coderzc merged 1 commit into
masterfrom
codex/master-namespace-not-found
Mar 16, 2026
Merged

test: tolerate namespace not found errors#2021
coderzc merged 1 commit into
masterfrom
codex/master-namespace-not-found

Conversation

@coderzc
Copy link
Copy Markdown
Member

@coderzc coderzc commented Mar 12, 2026

Summary

  • add a shared namespace test helper for non-existent namespace assertions
  • allow namespace tests to accept both legacy and current 404 error messages
  • keep CI stable when Pulsar returns 'Namespace not found' instead of 'Namespace does not exist'

Testing

  • go test ./pkg/ctl/namespace -run '^$'

@github-actions
Copy link
Copy Markdown

@coderzc:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions Bot added the doc-info-missing This pr needs to mark a document option in description label Mar 12, 2026
@coderzc coderzc force-pushed the codex/master-namespace-not-found branch from 3e6c10d to 5bdb1bf Compare March 16, 2026 02:36
@coderzc coderzc merged commit af0f57e into master Mar 16, 2026
10 checks passed
@coderzc coderzc deleted the codex/master-namespace-not-found branch March 16, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-info-missing This pr needs to mark a document option in description

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants