Skip to content

PB-2315: fix readiness check - #patch - #107

Merged
ltclm merged 1 commit into
masterfrom
fix_PB-2315_checker_readiness
Jun 17, 2026
Merged

ltclm merged 1 commit into
masterfrom
fix_PB-2315_checker_readiness

Conversation

@ltclm

@ltclm ltclm commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The WMS backend now returns the MapServer message wrapped in HTML, causing the exact-string equality check to fail and WMTS pods to remain unready.

Replace the equality check against wms_ok_string with a substring search for the marker without trailing newline, and decode with errors='replace' to avoid failures on unexpected bytes.

Add unit tests for the ready (mocked happy path) and missing-marker (503) cases.

The WMS backend now returns the MapServer message wrapped in HTML,
causing the exact-string equality check to fail and WMTS pods to
remain unready.

Replace the equality check against `wms_ok_string` with a substring
search for the marker without trailing newline, and decode with
`errors='replace'` to avoid failures on unexpected bytes.

Add unit tests for the ready (mocked happy path) and missing-marker
(503) cases.
@github-actions github-actions Bot added the bug Something isn't working as expected label Jun 17, 2026
@github-actions github-actions Bot changed the title PB-2315: fix readiness check PB-2315: fix readiness check - #patch Jun 17, 2026
@ltclm
ltclm requested review from faselm, ltshb and rebert June 17, 2026 07:45
@ltclm
ltclm merged commit 4acabce into master Jun 17, 2026
3 checks passed
@ltclm
ltclm deleted the fix_PB-2315_checker_readiness branch June 17, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants