fix ut case issue
This commit is contained in:
parent
84a7534256
commit
a53d7036ec
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue