diff --git a/tests/system-test/0-others/udfpy_main.py b/tests/system-test/0-others/udfpy_main.py index 2dd97ea2c5..23fbfd1e09 100644 --- a/tests/system-test/0-others/udfpy_main.py +++ b/tests/system-test/0-others/udfpy_main.py @@ -105,7 +105,7 @@ class TDTestCase: # create stable and child tables def create_table(self, stbname, tbname, count): - tdSql.prepare() + tdSql.execute("create database db wal_retention_period 4") tdSql.execute('use db') self.child_count = count self.stbname = stbname