Public source validation / validate (push) Failing after 3m8s
38 lines
867 B
JSON
38 lines
867 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "smart-warning",
|
|
"name": "SMART warning",
|
|
"description": "A disk reports pending sectors while overall generic status may still be ambiguous.",
|
|
"initialState": {
|
|
"disk": {
|
|
"id": "fixture-disk5",
|
|
"smartOverall": "passed",
|
|
"pendingSectors": 0
|
|
}
|
|
},
|
|
"timeline": [
|
|
{
|
|
"atSeconds": 30,
|
|
"action": "set-entity-status",
|
|
"payload": {
|
|
"entity": "fixture-disk5",
|
|
"status": "attention",
|
|
"facts": {
|
|
"pendingSectors": 2,
|
|
"smartOverall": "passed"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"expectedOutcomes": [
|
|
{
|
|
"bySeconds": 90,
|
|
"assertion": "Disk status is attention or degraded with an explicit pending-sector reason."
|
|
},
|
|
{
|
|
"bySeconds": 90,
|
|
"assertion": "UI does not reduce the state to generic SMART passed."
|
|
}
|
|
]
|
|
}
|