Skip to content

Fix check for broken fpm-status page#46

Open
blodan wants to merge 1 commit intorenatomefi:masterfrom
blodan:master
Open

Fix check for broken fpm-status page#46
blodan wants to merge 1 commit intorenatomefi:masterfrom
blodan:master

Conversation

@blodan
Copy link
Copy Markdown

@blodan blodan commented Jul 13, 2021

Context

This fix catches all different versions of output that can happen for a non-existing fpm status page.

For example for the php-fpm 7.4 alpine image only "Primary script unknown" is returned. Not sure if this is due to different php versions or if it's always been this way.

I've also noticed that Kubernetes readiness + liveness probes does not catch the output when sent to stderr so you might want to consider removing >&2 from error messages. We are running without them internally and that works great with Kubernetes.

Changes

  • Tests included
  • Documentation updated
  • Commit message is clear

@wandersonwhcr
Copy link
Copy Markdown
Collaborator

Hello @blodan, sorry for the delay.

Do you have any idea how can we implement TDD in this case?

@wandersonwhcr wandersonwhcr added this to the v0.6.0 milestone Dec 23, 2021
@wandersonwhcr wandersonwhcr added the bug Something isn't working label Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants