mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
update the scenarios for service availability check
This commit is contained in:
@@ -2,14 +2,14 @@ Feature: service health check
|
||||
|
||||
|
||||
Scenario: check service health
|
||||
When a user requests these endpoints:
|
||||
| endpoint | service |
|
||||
| %base_url_without_scheme_and_port%:9174/healthz | notification |
|
||||
When a user requests these endpoints with "GET" and no authentication
|
||||
| endpoint | service |
|
||||
| %base_url_hostname%:9174/healthz | notification |
|
||||
Then the HTTP status code of responses on all endpoints should be "200"
|
||||
|
||||
|
||||
Scenario: check service readiness
|
||||
When a user requests these endpoints:
|
||||
| endpoint | service |
|
||||
| %base_url_without_scheme_and_port%:9174/readyz | notification |
|
||||
When a user requests these endpoints with "GET" and no authentication
|
||||
| endpoint | service |
|
||||
| %base_url_hostname%:9174/readyz | notification |
|
||||
Then the HTTP status code of responses on all endpoints should be "200"
|
||||
|
||||
Reference in New Issue
Block a user