Skip to content

Commit 8188984

Browse files
committed
more tests
1 parent e23a21e commit 8188984

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/data/pixiu

+17
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,23 @@ data = [
236236
"path": "/",
237237
},
238238
},
239+
{
240+
"raw": "<187>Jun 5 10:19:28 HKSTO03-Node1 alarm[2003199]: <186>2024-06-05 10:19:26 DST 172.19.96.130 OceanStor-Distributed-Storage 908704 0xFEA6A000E Major(1): The used space (8388608MB) of quota (type directory quota) of dtree (name --, ID 0) at / in namespace (name nasbackupfacs, ID 182) reaches or approaches to the space hard quota of (8388608MB). Data will fail to be written.",
241+
"expected": {
242+
"program": "alarm",
243+
"quota_used_type": "directory",
244+
"namespace": "nasbackupfacs",
245+
"namespace_id": 182,
246+
"dtree": "--",
247+
"dtree_id": 0,
248+
"used_space": 8388608000000,
249+
"quota_used_type": "space",
250+
"quota_type": "directory",
251+
"quota_limit_type": "hard",
252+
"quota_space_limit": 8388608000000,
253+
"path": "/",
254+
},
255+
},
239256
{
240257
"raw": "<190>Jun 5 11:19:57 C4STO01-Node1 alarm[4162768]: <189>2024-06-05 11:19:57 DST 172.19.104.10 OceanStor-Distributed-Storage 1140981 0x100F00C90022 Informational(9): User (user name adm_CV000080) succeeded in logging out upon timeout from source (172.18.252.67).",
241258
"expected": {

0 commit comments

Comments
 (0)