From 532fb5f7c1a02008990269e2b42ae67ee1925a5d Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Tue, 24 Aug 2021 22:04:28 +0800 Subject: [PATCH] show firstline and lastline of schemaless performace python scripts --- tests/pytest/tools/schemalessInsertPerformance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pytest/tools/schemalessInsertPerformance.py b/tests/pytest/tools/schemalessInsertPerformance.py index 68802310a2..5e009a2129 100644 --- a/tests/pytest/tools/schemalessInsertPerformance.py +++ b/tests/pytest/tools/schemalessInsertPerformance.py @@ -191,7 +191,8 @@ class TDTestCase: def batchInsertTable(self, batch_list): for insert_list in batch_list: print(threading.current_thread().name, "length=", len(insert_list)) - print(threading.current_thread().name, 'firstline', insert_list[0], 'lastline:', insert_list[-1]) + print(threading.current_thread().name, 'firstline', insert_list[0]) + print(threading.current_thread().name, 'lastline:', insert_list[-1]) self._conn.insert_lines(insert_list) print(threading.current_thread().name, 'end')