diff --git a/tests/pytest/query/queryLimit.py b/tests/pytest/query/queryLimit.py index a868ea58a8cd8a97b31985d9fca79d67f00ada89..2faf7fd633fa3530709a88740eeefcabfe69d4ac 100644 --- a/tests/pytest/query/queryLimit.py +++ b/tests/pytest/query/queryLimit.py @@ -215,9 +215,9 @@ class TDTestCase: sql = "select * from st where ts>='2017-07-14 10:40:10' and ts<'2017-07-22 18:40:10' order by ts desc limit 16;" tdSql.waitedQuery(sql, 16, WAITS) tdSql.checkData(15, 1, 720004) - sql = "select * from st where ts>='2017-07-14 10:40:10' and ts<'2017-07-22 18:40:10' order by ts desc limit 16 offset 2;" + sql = "select * from st where ts>='2017-07-14 10:40:10' and ts<'2017-07-22 18:40:10' order by ts desc limit 16 offset 3;" tdSql.waitedQuery(sql, 16, WAITS) - tdSql.checkData(15, 1, 720004) + tdSql.checkData(15, 1, 720003) # # add case with filename