Rebase dev 2.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user