【修改】更新单元测试

This commit is contained in:
niubinghui
2024-09-02 16:10:51 +08:00
parent 0988578c6a
commit e063af614e
10 changed files with 347 additions and 244 deletions

View File

@@ -14,6 +14,7 @@ struct stellar
{
struct plugin_manager_schema *plug_mgr;
struct lua_plugin_manage_schema * lua_plug_mgr;
int thread_num;
};
struct packet
@@ -40,8 +41,6 @@ enum session_type session_get_type(struct session *sess)
return sess->type;
}
int session_get_current_plugin_id(struct session *sess)
{
return sess->plug_mgr_rt->current_session_plugin_id;
@@ -67,7 +66,7 @@ int session_get_current_thread_id(struct session *sess)
int stellar_get_worker_thread_num(struct stellar *st)
{
return 16;
return st->thread_num;
}
int stellar_get_current_thread_id(struct stellar *st)