Module: check_mk
Branch: master
Commit: 63589f01374cef2da0e8d47b60069f1cc1d9f835
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=63589f01374cef…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Mar 8 09:51:46 2019 +0100
ibm_svc_node: Fixed regression test
Change-Id: Iedae39983bcfb3580565ac7a08550974bdca0d1d
---
checks/ibm_svc_node | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/ibm_svc_node b/checks/ibm_svc_node
index 5e1bf8a..a702e54 100644
--- a/checks/ibm_svc_node
+++ b/checks/ibm_svc_node
@@ -87,7 +87,8 @@ def check_ibm_svc_node(item, _no_params, data):
else:
status = 1
- return status, ", ".join(messages)
+ # sorted is needed for deterministic test results
+ return status, ", ".join(sorted(messages))
check_info["ibm_svc_node"] = {