diff options
Diffstat (limited to 'tests/libs/zbxserver/evaluate_function.c')
-rw-r--r-- | tests/libs/zbxserver/evaluate_function.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libs/zbxserver/evaluate_function.c b/tests/libs/zbxserver/evaluate_function.c index a57a2caf563..58d8cbe1e5d 100644 --- a/tests/libs/zbxserver/evaluate_function.c +++ b/tests/libs/zbxserver/evaluate_function.c @@ -104,6 +104,8 @@ void zbx_mock_test_entry(void **state) zbx_free(error); } + zbx_vc_flush_stats(); + expected_ret = zbx_mock_str_to_return_code(zbx_mock_get_parameter_string("out.return")); zbx_mock_assert_result_eq("return value", expected_ret, returned_ret); |