Merge pull request #27966 from taosdata/test/3.0/TS-5437

Add CI test cases
This commit is contained in:
Feng Chao 2024-09-19 17:27:39 +08:00 committed by GitHub
commit 911e70d53a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
from frame.log import *
from frame.cases import *
from frame.sql import *
from frame.caseBase import *
from frame import *
from frame.autogen import *
"""
TS-5437: https://jira.taosdata.com:18080/browse/TS-5437
No coredump occurs when querying metadata.
"""
class TDTestCase(TBase):
def run(self):
tdSql.prepare("test")
tdSql.execute("create table t1(ts timestamp, a int, b int, c int, d double);")
tdSql.query("select * from information_schema.ins_tables where create_time < now;")
tdCases.addLinux(__file__, TDTestCase())
tdCases.addWindows(__file__, TDTestCase())