TDengine/test/new_test_framework/utils/server
haoranchen d261dbe55f
fix:add check transcation after new db (#34175)
* fix(tmq): add waitTransactionZeroWithTsql method to check for zero transactions after database creation

* fix(tests): update test cases for tmq snapshot and remove commented line

* fix(tmq): optimize waitTransactionZeroWithTsql method to use query instead of execute

* fix(tmq): update waitTransactionZeroWithTsql method to implement timeout and improve transaction checking logic

* fix(tmq): update database creation and transaction checking logic to use td_sql and improve error handling

* fix(tmq): refactor waitTransactionZeroWithTdsql to use query method for transaction checking

* fix(tmq): update logging format in createDb method and correct transaction checking function name

* fix(tmq): refactor waitTransactionZeroWithTdsql method for improved readability

* fix: typo

Signed-off-by: WANG Xu <feici02@outlook.com>

* fix(tmq): refactor database and table creation queries for improved readability and consistency

* Implement feature X to enhance user experience and optimize performance

* Implement feature X to enhance user experience and optimize performance

* fix: update SQL string construction to handle empty database parameters

* fix: ensure proper spacing in SQL string construction for database creation

* fix: add process check after stopping taosd to ensure proper shutdown

* fix: enhance process check after stopping taosd to ensure it terminates within a timeout

---------

Signed-off-by: WANG Xu <feici02@outlook.com>
Co-authored-by: WANG Xu <feici02@outlook.com>
2026-01-13 14:24:12 +08:00
..
__init__.py feat: change utils import 2025-03-28 21:37:07 +08:00
cluster.py feat: change utils import 2025-03-28 21:37:07 +08:00
dnode.py fix:add check transcation after new db (#34175) 2026-01-13 14:24:12 +08:00
dnodes.py test: test_idmp_meters.py submit (#32763) 2025-09-03 17:28:56 +08:00
simClient.py fix Windows error 2025-08-29 17:40:22 +08:00