Skip to content

Commit 1f01550

Browse files
add test for , in the issue string
1 parent 5bb0a3c commit 1f01550

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

test/data/alerts.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,27 @@
399399
"issue": "Directory service lookup failed.",
400400
"knowledge_base_url": "https://support.purestorage.com/?cid=Alert_0231",
401401
"summary": "(directory_service:Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))): Directory service lookup failed."
402+
},
403+
{
404+
"description": "(directory_service:Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))): Directory service lookup failed. Expected: , Actual: ",
405+
"created": 1678460265500,
406+
"state": "open",
407+
"component_type": "directory_service",
408+
"name": "10999254",
409+
"id": "1cb99f01d2754294a1d7eb3b6e61abdf",
410+
"code": 231,
411+
"category": "array",
412+
"severity": "info",
413+
"flagged": false,
414+
"updated": 1678460265500,
415+
"closed": null,
416+
"notified": null,
417+
"component_name": "Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))",
418+
"expected": "",
419+
"actual": "",
420+
"issue": "Directory, service, lookup failed.",
421+
"knowledge_base_url": "https://support.purestorage.com/?cid=Alert_0231",
422+
"summary": "(directory_service:Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))): Directory service lookup failed."
402423
}
403424
],
404425
"more_items_remaining": false,

test/data/alerts_open.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,27 @@
399399
"issue": "Directory service lookup failed.",
400400
"knowledge_base_url": "https://support.purestorage.com/?cid=Alert_0231",
401401
"summary": "(directory_service:Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))): Directory service lookup failed."
402+
},
403+
{
404+
"description": "(directory_service:Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))): Directory service lookup failed. Expected: , Actual: ",
405+
"created": 1678460265500,
406+
"state": "open",
407+
"component_type": "directory_service",
408+
"name": "10999254",
409+
"id": "1cb99f01d2754294a1d7eb3b6e61abdf",
410+
"code": 231,
411+
"category": "array",
412+
"severity": "info",
413+
"flagged": false,
414+
"updated": 1678460265500,
415+
"closed": null,
416+
"notified": null,
417+
"component_name": "Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))",
418+
"expected": "",
419+
"actual": "",
420+
"issue": "Directory, service, lookup failed.",
421+
"knowledge_base_url": "https://support.purestorage.com/?cid=Alert_0231",
422+
"summary": "(directory_service:Service: active_directory_domain_catalog_ldap, IpAddress: 172.31.50.19, Port: 389, Filter: (&(uidNumber=1000)(objectClass=user))): Directory service lookup failed."
402423
}
403424
],
404425
"more_items_remaining": false,

0 commit comments

Comments
 (0)