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
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2019-02-11 17:16:40 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2019-02-11 17:16:40 +0300
commit2dc2379d6903dfa29d3595b80b54352cdc0e3bc1 (patch)
tree0a6c3e963dc75e711662202c4c1b9e8fce26ce5d /tests/zabbix_server/preprocessor
parentdec13e2552d73ef725b8832a6c778b10baf834ad (diff)
........S. [ZBXNEXT-5016] extended preprocessing error message to include intermediate step results
Diffstat (limited to 'tests/zabbix_server/preprocessor')
-rw-r--r--tests/zabbix_server/preprocessor/zbx_item_preproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zabbix_server/preprocessor/zbx_item_preproc.c b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
index bd4114f1491..24eaba98f25 100644
--- a/tests/zabbix_server/preprocessor/zbx_item_preproc.c
+++ b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
@@ -170,7 +170,7 @@ void zbx_mock_test_entry(void **state)
unsigned char value_type;
zbx_timespec_t ts, history_ts, expected_history_ts;
zbx_preproc_op_t op;
- int returned_ret, expected_ret;
+ int returned_ret, expected_ret, action;
char *error = NULL;
ZBX_UNUSED(state);
@@ -191,7 +191,7 @@ void zbx_mock_test_entry(void **state)
history_value_copy = history_value;
- returned_ret = zbx_item_preproc(0, value_type, &value, &ts, &op, &history_value, &history_ts, &error);
+ returned_ret = zbx_item_preproc_step(0, value_type, &value, &ts, &op, &history_value, &history_ts, &action, &error);
if (SUCCEED == is_step_supported(op.type))
expected_ret = zbx_mock_str_to_return_code(zbx_mock_get_parameter_string("out.return"));