diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2021-09-29 18:06:38 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2021-09-29 18:06:38 +0300 |
commit | 777ab3b65c6e94ff4e7135c4613cc87f0ba7bb68 (patch) | |
tree | 3689634f1e7dbc11a578851eef4618e70c2b6011 /tests/libs/zbxeval | |
parent | e14172524cbb6be0a82847a3887b9e0d2b55b67e (diff) |
.......PS. [ZBXNEXT-6879] added histogram_quantile() cmocka tests and fix
Diffstat (limited to 'tests/libs/zbxeval')
-rw-r--r-- | tests/libs/zbxeval/zbx_eval_execute.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libs/zbxeval/zbx_eval_execute.yaml b/tests/libs/zbxeval/zbx_eval_execute.yaml index ca7f2307959..7d6c4603851 100644 --- a/tests/libs/zbxeval/zbx_eval_execute.yaml +++ b/tests/libs/zbxeval/zbx_eval_execute.yaml @@ -2147,4 +2147,12 @@ in: expression: 'power(10,300)*power(10,300)' out: result: FAIL +--- +test case: Expression 'histogram_quantile(0.8, 0.1, 1, 0.2, 2, +Inf, 3)' +in: + rules: [ZBX_EVAL_PARSE_FUNCTION,ZBX_EVAL_PARSE_VAR] + expression: 'histogram_quantile(0.8, 0.1, 1, 0.2, 2, "+Inf", 3)' +out: + result: SUCCEED + value: '0.2' ... |