Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2021-04-20 19:27:03 +0300
committerAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2021-04-20 19:27:03 +0300
commit4b1e264194a038abb4943be9c89dadc6a4daa082 (patch)
treeff9b6b8642065afbd77f40564c18065b4fe5ca55 /tests
parent007569545faf82d15721962c07761a20fd7cc41c (diff)
........S. [ZBXNEXT-114] fixed range format
Diffstat (limited to 'tests')
-rw-r--r--tests/libs/zbxserver/valuemaps.yaml19
1 files changed, 15 insertions, 4 deletions
diff --git a/tests/libs/zbxserver/valuemaps.yaml b/tests/libs/zbxserver/valuemaps.yaml
index ff1abfef579..a6b8fa9abb0 100644
--- a/tests/libs/zbxserver/valuemaps.yaml
+++ b/tests/libs/zbxserver/valuemaps.yaml
@@ -64,7 +64,7 @@ in:
value: "3"
newvalue: "Value < 3"
- type: 3
- value: "5:7"
+ value: "5-7"
newvalue: "Value 5-7"
out:
return: SUCCEED
@@ -84,7 +84,7 @@ in:
value: 3
newvalue: "Value < 3"
- type: 3
- value: "5:7"
+ value: "5-7"
newvalue: "Value 5-7"
- type: 1
value: 10
@@ -107,7 +107,7 @@ in:
value: 3
newvalue: "Value < 3"
- type: 3
- value: "5:7"
+ value: "5-7"
newvalue: "Value 5-7"
- type: 1
value: 10
@@ -133,7 +133,7 @@ in:
value: 3
newvalue: "Value < 3"
- type: 3
- value: "5:7"
+ value: "5-7"
newvalue: "Value 5-7"
- type: 1
value: 10
@@ -158,5 +158,16 @@ in:
out:
return: SUCCEED
value: "Value < 3 (1)"
+---
+test case: complex range
+in:
+ value: 4
+ valuemaps:
+ - type: 3
+ value: "-10--5,-3-5,32,44,4- 6, 10.5 -12.5, 133.1, 8"
+ newvalue: "Range"
+out:
+ return: SUCCEED
+ value: "Range (4)"
...