Merge pull request #26035 from taosdata/test/TD-30382

test: update stream case for TD-30382
This commit is contained in:
Alex Duan 2024-06-07 13:52:09 +08:00 committed by GitHub
commit de2cf66803
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ class TDTestCase:
for ts_value in [self.tdCom.date_time, window_close_ts-1]:
self.tdCom.sinsert_rows(tbname=self.ctb_name, ts_value=ts_value)
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]:
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)