Skip to content

Commit e23a21e

Browse files
committed
add another test
1 parent 5ab3bc9 commit e23a21e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/data/pixiu

+20
Original file line numberDiff line numberDiff line change
@@ -266,4 +266,24 @@ data = [
266266
"path": "/108",
267267
},
268268
},
269+
{
270+
"raw": "<187>Aug 10 00:32:43 C4STO01-Node1 alarm[4162768]: <186>2024-08-10 00:32:43 DST 172.19.104.10 OceanStor-Distributed-Storage 1465743 0xFEA6A000C Major(1): The used space (6108MB) of the quota (type user quota, user name, owner name vsc11010) of dtree (name 110, ID 4107) at /110 in namespace (name user, ID 70) reaches the soft space quota of (5851MB) and the grace period ended (7) days ago. The user or user group will fail to write data.",
271+
"expected": {
272+
"program": "alarm",
273+
"alarm_severity": "Major",
274+
"alarm_object": "OceanStor-Distributed-Storage",
275+
"alarm_id": "0xFEA6A000C",
276+
"username": "vsc11010",
277+
"quota_type": "user",
278+
"quota_used_type": "space",
279+
"dtree": "110",
280+
"dtree_id": 4107,
281+
"namespace": "user",
282+
"namespace_id": 70,
283+
"quota_limit_type": "soft",
284+
"path": "/110",
285+
"quota_space_limit": 5851000000,
286+
"used_space": 6108000000,
287+
},
288+
},
269289
]

0 commit comments

Comments
 (0)