From c39f0a1f4720409cd045deca916756edad76fffc Mon Sep 17 00:00:00 2001 From: "wenzhouwww@live.cn" Date: Thu, 16 Jun 2022 11:32:21 +0800 Subject: [PATCH] update case for duration for create db --- tests/system-test/2-query/distribute_agg_max.py | 2 +- tests/system-test/2-query/max.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-test/2-query/distribute_agg_max.py b/tests/system-test/2-query/distribute_agg_max.py index 6897d7dc4f..ae0ab5aafa 100644 --- a/tests/system-test/2-query/distribute_agg_max.py +++ b/tests/system-test/2-query/distribute_agg_max.py @@ -39,7 +39,7 @@ class TDTestCase: def prepare_datas_of_distribute(self): # prepate datas for 20 tables distributed at different vgroups - tdSql.execute("create database if not exists testdb keep 3650 days 1000 vgroups 5") + tdSql.execute("create database if not exists testdb keep 3650 duration 1000 vgroups 5") tdSql.execute(" use testdb ") tdSql.execute( '''create table stb1 diff --git a/tests/system-test/2-query/max.py b/tests/system-test/2-query/max.py index 19dd55a0e6..0cb470088b 100644 --- a/tests/system-test/2-query/max.py +++ b/tests/system-test/2-query/max.py @@ -93,7 +93,7 @@ class TDTestCase: def support_distributed_aggregate(self): # prepate datas for 20 tables distributed at different vgroups - tdSql.execute("create database if not exists testdb keep 3650 days 1000 vgroups 5") + tdSql.execute("create database if not exists testdb keep 3650 duration 1000 vgroups 5") tdSql.execute(" use testdb ") tdSql.execute( '''create table stb1