owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.38k stars 182 forks source link

Testplan for #10281 #10316

Open dragonchaser opened 6 days ago

dragonchaser commented 6 days ago

We need to test the /healthz and /readyz of every service mentioned in #10281 for functionality (e2e). Therefore we need additional tests in our PHP-Suite.

IMHO there is no need to test them in k8s or k3s. It should be sufficient to check the output of the two endpoints with their conditions being met or unmet.

refs #8783

ScharfViktor commented 6 days ago

we have two ways(or more) how to check health of the service

service nats example: curl http://127.0.0.1:9234/healthz - 200 and using CLI ocis/bin/ocis nats health - doesn't work (`ocis/bin/ocis nats version - also doesn't work)

in addition to checking the endpoinds we can check CLI using cliCommand suite. @dragonchaser should we fix cli health command for all services?