This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"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."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user