fix ut case issue

This commit is contained in:
dapan1121 2022-01-27 13:52:10 +08:00
parent 84a7534256
commit a53d7036ec
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ TEST_F(MndTestProfile, 04_HeartBeatMsg) {
kv.key = 123; kv.key = 123;
kv.value = (void*)"bcd"; kv.value = (void*)"bcd";
kv.valueLen = 4; kv.valueLen = 4;
taosHashPut(req.info, &kv.key, sizeof(kv.key), kv.value, kv.valueLen); taosHashPut(req.info, &kv.key, sizeof(kv.key), &kv, sizeof(kv));
taosArrayPush(batchReq.reqs, &req); taosArrayPush(batchReq.reqs, &req);
int32_t tlen = tSerializeSClientHbBatchReq(NULL, &batchReq); int32_t tlen = tSerializeSClientHbBatchReq(NULL, &batchReq);