diff --git a/tests/pytest/insert/line_insert.py b/tests/pytest/insert/line_insert.py index 79c318c3448a0a77b02143ac5689952d9e498d3c..8beb6ba01e59ece18c5d7d4b71bd6f09b42fa157 100644 --- a/tests/pytest/insert/line_insert.py +++ b/tests/pytest/insert/line_insert.py @@ -208,6 +208,14 @@ class TDTestCase: tdSql.query("select * from type_json5") tdSql.checkData(0, 2, '''{"jsonC":"0"}''') + try: + self._conn.schemaless_insert([ + "measurement,host=host1 field1=12i,field2=2.0,fieldKey=\"Launch\" 1654078242716", + "measurement,host=host1" + ], TDSmlProtocolType.LINE.value, TDSmlTimestampType.MILLI_SECOND.value) + tdLog.exit("%s failed: no exception happen here" % __file__) + except Exception as e: + pass def stop(self): tdSql.close()