Rebase dev 2.0

This commit is contained in:
杨威
2024-10-11 06:08:50 +00:00
parent 2e35a79528
commit 70d21f28c3
671 changed files with 1490 additions and 1770 deletions

View File

@@ -342,7 +342,7 @@ static void test_pub_on_msg_free(void *msg, void *msg_free_arg)
if((long)msg!=env->N_round && (int)(long)msg==env->N_round-1)
{
EXPECT_EQ(mq_runtime_publish_message(env->rt, env->topic_id, (void *)(long)(env->N_round)), -1);//on message free, publish always failed
EXPECT_EQ(mq_runtime_publish_message_at_once(env->rt, env->topic_id, (void *)(long)(env->N_round)), 0);//on message free, publish at once success
EXPECT_EQ(mq_runtime_publish_message_immediate(env->rt, env->topic_id, (void *)(long)(env->N_round)), 0);//on message free, publish at once success
}
return;
}