提交 61380b78 编写于 作者: K kailixu

chore: test case adaption

上级 25d9405b
...@@ -647,7 +647,7 @@ static int32_t tdRSmaExecAndSubmitResult(SSma *pSma, qTaskInfo_t taskInfo, SRSma ...@@ -647,7 +647,7 @@ static int32_t tdRSmaExecAndSubmitResult(SSma *pSma, qTaskInfo_t taskInfo, SRSma
for (int32_t i = 0; i < taosArrayGetSize(pResList); ++i) { for (int32_t i = 0; i < taosArrayGetSize(pResList); ++i) {
output = taosArrayGetP(pResList, i); output = taosArrayGetP(pResList, i);
smaDebug("vgId:%d, result block, uid:%" PRIu64 ", groupid:%" PRIu64 ", rows:%d", SMA_VID(pSma), smaDebug("vgId:%d, result block, uid:%" PRIu64 ", groupid:%" PRIu64 ", rows:%" PRIi64, SMA_VID(pSma),
output->info.id.uid, output->info.id.groupId, output->info.rows); output->info.id.uid, output->info.id.groupId, output->info.rows);
STsdb *sinkTsdb = (pItem->level == TSDB_RETENTION_L1 ? pSma->pRSmaTsdb[0] : pSma->pRSmaTsdb[1]); STsdb *sinkTsdb = (pItem->level == TSDB_RETENTION_L1 ? pSma->pRSmaTsdb[0] : pSma->pRSmaTsdb[1]);
......
...@@ -349,16 +349,18 @@ if $rows > 2 then ...@@ -349,16 +349,18 @@ if $rows > 2 then
endi endi
if $data01 != 100 then if $data01 != 100 then
if $data01 != 50 then if $data01 != 10 then
print retention level 2 file/mem result $data01 != 100 or 50 print retention level 2 file/mem result $data01 != 100 or 10
return -1 return -1
endi endi
endi endi
if $data02 != 500.00000 then if $data02 != 500.00000 then
if $data02 != 100.00000 then if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 if $data02 != 10.00000 then
return -1 print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi endi
endi endi
...@@ -371,16 +373,18 @@ if $rows > 2 then ...@@ -371,16 +373,18 @@ if $rows > 2 then
endi endi
if $data01 != 100 then if $data01 != 100 then
if $data01 != 50 then if $data01 != 10 then
print retention level 2 file/mem result $data01 != 100 or 50 print retention level 2 file/mem result $data01 != 100 or 10
return -1 return -1
endi endi
endi endi
if $data02 != 500.00000 then if $data02 != 500.00000 then
if $data02 != 100.00000 then if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 if $data02 != 10.00000 then
return -1 print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi endi
endi endi
...@@ -394,16 +398,18 @@ if $rows > 2 then ...@@ -394,16 +398,18 @@ if $rows > 2 then
endi endi
if $data01 != 100 then if $data01 != 100 then
if $data01 != 50 then if $data01 != 10 then
print retention level 1 file/mem result $data01 != 100 or 50 print retention level 1 file/mem result $data01 != 100 or 10
return -1 return -1
endi endi
endi endi
if $data02 != 500.00000 then if $data02 != 500.00000 then
if $data02 != 100.00000 then if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 if $data02 != 10.00000 then
return -1 print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi endi
endi endi
...@@ -416,16 +422,18 @@ if $rows > 2 then ...@@ -416,16 +422,18 @@ if $rows > 2 then
endi endi
if $data01 != 100 then if $data01 != 100 then
if $data01 != 50 then if $data01 != 10 then
print retention level 1 file/mem result $data01 != 100 or 50 print retention level 1 file/mem result $data01 != 100 or 10
return -1 return -1
endi endi
endi endi
if $data02 != 500.00000 then if $data02 != 500.00000 then
if $data02 != 100.00000 then if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 if $data02 != 10.00000 then
return -1 print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi endi
endi endi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册