test: update stream case for TD-30382

This commit is contained in:
jiajingbin 2024-06-04 16:26:52 +08:00
parent cb91923525
commit c70fe820f9
1 changed files with 1 additions and 4 deletions

View File

@ -47,10 +47,7 @@ class TDTestCase:
self.tdCom.sinsert_rows(tbname=self.tb_name, ts_value=ts_value)
if i == 0 and fill_history_value is not None:
for tbname in [self.ctb_stream_des_table, self.tb_stream_des_table]:
if tbname != self.tb_stream_des_table:
tdSql.query(f'select count(*) from {tbname}', count_expected_res=1)
else:
tdSql.query(f'select count(*) from {tbname}', count_expected_res=1)
tdSql.query(f'select count(*) from {tbname}', count_expected_res=1)
if self.tdCom.update and i%2 == 0:
self.tdCom.sinsert_rows(tbname=self.ctb_name, ts_value=ts_value)
self.tdCom.sinsert_rows(tbname=self.tb_name, ts_value=ts_value)