Files
ocis/tests/acceptance/features/apiAntivirus/serviceAvailabilityCheck.feature
nirajacharya2 9d0c31799b [tests-only][full-ci] test: run API-antivirus test suite on k8s (#11844)
* test: run API-antivirus test suite on k8s

* test: export service port

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use existing clamav service

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix debug port

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: deploy clamav in k8s

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Niraj Acharya <niraj@jankaritech.com>
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-12-05 10:37:55 +05:45

16 lines
639 B
Gherkin

Feature: service health check
Scenario: check service health
When a user requests these URLs with "GET" and no authentication
| endpoint | service |
| http://%base_url_hostname%:9277/healthz | antivirus |
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: check service readiness
When a user requests these URLs with "GET" and no authentication
| endpoint | service |
| http://%base_url_hostname%:9277/readyz | antivirus |
Then the HTTP status code of responses on all endpoints should be "200"