diff options
| author | yangwei <[email protected]> | 2024-06-03 19:13:13 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-06-03 19:40:33 +0800 |
| commit | 7875675349291b5137890ef78d71174661c1752d (patch) | |
| tree | 185a953d0c96422e3e8a45ad3ff723cc4132f679 /test/plugin_manager/plugin_manager_gtest_main.cpp | |
| parent | 3c7e53b142981b9bfa66033151a7a32e074c615f (diff) | |
✨ feat(stellar.h add new API): stellar_emit_datapath_telemetryv2.1.1
Diffstat (limited to 'test/plugin_manager/plugin_manager_gtest_main.cpp')
| -rw-r--r-- | test/plugin_manager/plugin_manager_gtest_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugin_manager/plugin_manager_gtest_main.cpp b/test/plugin_manager/plugin_manager_gtest_main.cpp index 2745354..9c0e611 100644 --- a/test/plugin_manager/plugin_manager_gtest_main.cpp +++ b/test/plugin_manager/plugin_manager_gtest_main.cpp @@ -972,9 +972,9 @@ static void test_session_msg_free(struct session *sess, void *msg, void *msg_fre { struct session_plugin_env *env = (struct session_plugin_env *)msg_free_arg; EXPECT_EQ(sess->plug_mgr_rt->plug_mgr, env->plug_mgr); - EXPECT_EQ(env->test_mq_pub_called, *(int *)msg); if(msg) { + EXPECT_EQ(env->test_mq_pub_called, *(int *)msg); env->test_mq_free_called+=1; FREE(msg); } |
