test(stream): init lock.
This commit is contained in:
parent
637e604368
commit
045a30035f
|
@ -216,6 +216,7 @@ TEST_F(StreamTest, kill_checkpoint_trans) {
|
|||
pTask->id.streamId = defStreamId;
|
||||
pTask->id.taskId = 1;
|
||||
pTask->exec.qmsg = (char*)taosMemoryMalloc(1);
|
||||
taosThreadMutexInit(&pTask->lock, NULL);
|
||||
|
||||
taosArrayPush(pLevel, &pTask);
|
||||
|
||||
|
|
Loading…
Reference in New Issue