fix health check: verify dependencies.system nested keys
Caveman: health.robot test check deeper nesting for system metrics. Docs: remove stale Task 2 (already fixed). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -26,4 +26,8 @@ Detailed Health Check
|
||||
[Documentation] Verify the detailed health endpoint returns metrics.
|
||||
${resp}= GET On Session anon /health/detailed expected_status=200
|
||||
Response Should Have Status ${resp} 200
|
||||
Response Should Contain Keys ${resp} status version uptime memory cpu
|
||||
Response Should Contain Keys ${resp} status version uptime dependencies
|
||||
${json}= Convert String To Json ${resp.text}
|
||||
Dictionary Should Contain Key ${json["dependencies"]} system
|
||||
Dictionary Should Contain Key ${json["dependencies"]["system"]} memory_percent
|
||||
Dictionary Should Contain Key ${json["dependencies"]["system"]} cpu_percent
|
||||
|
||||
Reference in New Issue
Block a user