diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-04-21 14:39:38 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-04-21 14:48:24 +0300 |
commit | 7619f88e4a79211f945cd6ab3ef084dd9a63ecb6 (patch) | |
tree | e5d37502d0a90f6f3c153afe01167e92f9aff815 /tests/libs/zbxdbcache/zbx_vc_add_values.c | |
parent | 196e79bb38bc75d0cab36f52b42f7eaf7e8f8286 (diff) | |
parent | bcb6ae355d608a4ccac133b65810d642a4fab048 (diff) |
.......... [ZBXNEXT-6452] merged branch 'master' of ssh://git.zabbix.lan:7999/zbx/zabbix into feature/ZBXNEXT-6452-5.3
Diffstat (limited to 'tests/libs/zbxdbcache/zbx_vc_add_values.c')
-rw-r--r-- | tests/libs/zbxdbcache/zbx_vc_add_values.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libs/zbxdbcache/zbx_vc_add_values.c b/tests/libs/zbxdbcache/zbx_vc_add_values.c index 42d45860431..ac80bedbb50 100644 --- a/tests/libs/zbxdbcache/zbx_vc_add_values.c +++ b/tests/libs/zbxdbcache/zbx_vc_add_values.c @@ -53,6 +53,9 @@ void zbx_mock_test_entry(void **state) /* set small cache size to force smaller cache free request size (5% of cache size) */ CONFIG_VALUE_CACHE_SIZE = ZBX_KIBIBYTE; + err = zbx_locks_create(&error); + zbx_mock_assert_result_eq("Lock initialization failed", SUCCEED, err); + err = zbx_vc_init(&error); zbx_mock_assert_result_eq("Value cache initialization failed", SUCCEED, err); |