From 66b7c9cfbe2820e1f59594e1a66b7fe3357665af Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Tue, 3 Sep 2024 16:34:26 +0800 Subject: [PATCH] tetst:modify error path in windows ci --- tests/system-test/1-insert/ts-4272.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/system-test/1-insert/ts-4272.py b/tests/system-test/1-insert/ts-4272.py index f2bacd0c2b..4aaab11346 100644 --- a/tests/system-test/1-insert/ts-4272.py +++ b/tests/system-test/1-insert/ts-4272.py @@ -25,7 +25,9 @@ class TDTestCase: self.tag2 = f'using {self.stable0}(groupId) tags(2)' self.file1 = f"{self.testcasePath}/b.csv" self.file2 = f"{self.testcasePath}/c.csv" - + if platform.system().lower() == 'windows': + self.file1 = self.file1.replace("\\","\\\\") + self.file2 = self.file2.replace("\\","\\\\") tdLog.debug(f"start to excute {__file__}") tdSql.init(conn.cursor(), logSql)