Skip to content

Commit 1132753

Browse files
committed
* FIX [auth_http_test] init new acl_cache_mtx for CI test
Signed-off-by: Jaylin <jaylin@emqx.io>
1 parent e3fc94c commit 1132753

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sp/protocol/mqtt/auth_http_test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ void test_auth_http_sub_pub(void)
7878
NUTS_TRUE(conf->acl_req.mtx != NULL);
7979
nng_mtx_alloc(&conf->super_req.mtx);
8080
NUTS_TRUE(conf->super_req.mtx != NULL);
81+
nng_mtx_alloc(&conf->acl_cache_mtx);
82+
NUTS_TRUE(conf->acl_cache_mtx != NULL);
8183

8284
topic_queue *tq = topic_queue_init("topic1", strlen("topic1"));
8385

0 commit comments

Comments
 (0)