ЕСОЗ - публічна документація
Async job processing test cases
n/n | Description | Inputs | expected result | actual result | Status |
---|---|---|---|---|---|
1 | Create pkg - success |
|
| passed | |
2 | Create pkg - failed validation |
|
| passed | |
3 | Create pkg, one IL pod is down |
|
| passed | |
4 | Create pkg, all IL pods are down |
|
| passed | |
5 | Create pkg, MongoDB is down |
| 500 | No response http_code: 500 Timeout: 60106 ms | ? |
6 | Create pkg, failed to insert to Observations collection |
| A:
B: after observations is up
| Cant be reproduced | |
|
| "errors": "Aborting transaction. connection(me-db-mongodb-replicaset-0.me-db-mongodb-replicaset.me-db.svc.cluster.local:27017[-431]) unable to decode message length: EOF", "eta": "2019-02-21T09:55:11.445", "status": "failed", "status_code": 500 | Can not reproduce again | ||
7 | Create pkg, failed to update job status |
| A:
B: after jobs collection is up
| ||
8 | Create pkg, one DS service pod is down |
| ASIS:
TOBE:
|
| passed |
9 | Create pkg, all DS service pods are down |
| "errors": "%Core.Microservices.Error{message: :connect_timeout}", "eta": "2019-02-21T10:16:01.602", "status": "failed_with_error", "status_code": 500 | passed | |
10 | Create pkg, kafka is down |
| 500 | { "error": { "type": "internal_error" }, "meta": { "code": 500, "request_id": "a39037e0-7829-4acb-8634-cf02f1b31793#2167", "type": "object", "url": "http://api-medical-events.me.svc.cluster.local/api/patients/7d60d862-6df2-4dd9-95b3-7496b189b906/encounter_package" } } | passed |
11 | Create pkg, ael service is down |
|
| "errors": "%Core.Microservices.Error{message: :connect_timeout}", "eta": "2019-02-21T10:19:08.554", "status": "failed_with_error", "status_code": 500 | passed |
12 | Get data when IL is down | ? | always 403 | ||
13 | Transaction |
| Validations passed First package created Second package failed with 500 Nothing was created from the second package | Validations passed First package created Second package failed with 500 Nothing was created from the second package | passed |
ЕСОЗ - публічна документація