From 32c0c105eae72f2867ad36be3fac6f067fae5127 Mon Sep 17 00:00:00 2001 From: cpwu Date: Mon, 13 Jun 2022 16:29:29 +0800 Subject: [PATCH] fix case --- tests/system-test/1-insert/create_retentions.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/system-test/1-insert/create_retentions.py b/tests/system-test/1-insert/create_retentions.py index bdd752988e..80cedba9da 100644 --- a/tests/system-test/1-insert/create_retentions.py +++ b/tests/system-test/1-insert/create_retentions.py @@ -1,5 +1,4 @@ import datetime -from turtle import pos from util.log import * from util.sql import * @@ -164,12 +163,12 @@ class TDTestCase: ( { now_time + 5184000000}, {pow(2,31)-pow(2,15)}, {pow(2,63)-pow(2,30)}, 32767, 127, { 3.3 * pow(10,38) }, { 1.3 * pow(10,308) }, { rows % 2 }, "binary_limit-1", "nchar_测试_limit-1", { now_time - 86400000}, - 254, 65534, {pow(2,63)-pow(2,15)}, {pow(2,127)-pow(2,30)} + 254, 65534, {pow(2,32)-pow(2,16)}, {pow(2,64)-pow(2,31)} ) ( { now_time + 2592000000 }, {pow(2,31)-pow(2,16)}, {pow(2,63)-pow(2,31)}, 32766, 126, { 3.2 * pow(10,38) }, { 1.2 * pow(10,308) }, { (rows-1) % 2 }, "binary_limit-2", "nchar_测试_limit-2", { now_time - 172800000}, - 255, 65535, {pow(2,63)-pow(2,30)}, {pow(2,127)-pow(2,60)} + 255, 65535, {pow(2,32)-pow(2,15)}, {pow(2,64)-pow(2,30)} ) ''' ) @@ -204,11 +203,11 @@ class TDTestCase: ( { now_time + 7200000 }, { pow(2,31) - pow(2,15) }, { pow(2,63) - pow(2,30) }, 32767, 127, { 3.3 * pow(10,38) }, { 1.3 * pow(10,308) }, { rows % 2 }, "binary_limit-1", "nchar_测试_limit-1", { now_time - 86400000 }, - 254, 65534, {pow(2,63)-pow(2,15)}, {pow(2,127)-pow(2,30)} + 254, 65534, {pow(2,32)-pow(2,16)}, {pow(2,64)-pow(2,31)} ( { now_time + 3600000 } , { pow(2,31) - pow(2,16) }, { pow(2,63) - pow(2,31) }, 32766, 126, { 3.2 * pow(10,38) }, { 1.2 * pow(10,308) }, { (rows-1) % 2 }, "binary_limit-2", "nchar_测试_limit-2", { now_time - 172800000 }, - 255, 65535, {pow(2,63)-pow(2,30)}, {pow(2,127)-pow(2,60)} + 255, 65535, {pow(2,32)-pow(2,15)}, {pow(2,64)-pow(2,30)} ) ''' ) -- GitLab