From 96d4527331f06faba4e00f9f45f37069e1e76c5f Mon Sep 17 00:00:00 2001 From: Hui Li Date: Fri, 12 Jun 2020 15:31:42 +0800 Subject: [PATCH] [modify sim case] --- .../unique/arbitrator/offline_replica2_alterTag_online.sim | 6 +++--- .../unique/arbitrator/offline_replica3_alterTag_online.sim | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim b/tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim index 54e5c6a81f..b883f077c2 100644 --- a/tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim +++ b/tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim @@ -67,7 +67,7 @@ sql use $db # create table , insert data $stb = stb -sql create table $stb (ts timestamp, c1 int, c2 int) tags(t1 int) +sql create table $stb (ts timestamp, c1 int, c2 int) tags(t0 int, t1 int) $rowNum = 500 $tblNum = $totalTableNum $totalRows = 0 @@ -77,7 +77,7 @@ $tsEnd = 0 $i = 0 while $i < $tblNum $tb = tb . $i - sql create table $tb using $stb tags( $i ) + sql create table $tb using $stb tags( $i , $i ) $x = 0 while $x < $rowNum @@ -164,7 +164,7 @@ $totalRows = 0 $i = 0 while $i < $tblNum $tb = tb . $i - sql create table $tb using $stb tags( $i , $i ) + sql create table $tb using $stb tags( $i , $i , $i ) $x = 0 while $x < $rowNum diff --git a/tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim b/tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim index 97a8a0d6e0..e27bbafba7 100644 --- a/tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim +++ b/tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim @@ -67,7 +67,7 @@ sql use $db # create table , insert data $stb = stb -sql create table $stb (ts timestamp, c1 int, c2 int) tags(t1 int) +sql create table $stb (ts timestamp, c1 int, c2 int) tags(t0 int, t1 int) $rowNum = 500 $tblNum = $totalTableNum $totalRows = 0 @@ -77,7 +77,7 @@ $tsEnd = 0 $i = 0 while $i < $tblNum $tb = tb . $i - sql create table $tb using $stb tags( $i ) + sql create table $tb using $stb tags( $i , $i ) $x = 0 while $x < $rowNum @@ -164,7 +164,7 @@ $totalRows = 0 $i = 0 while $i < $tblNum $tb = tb . $i - sql create table $tb using $stb tags( $i , $i ) + sql create table $tb using $stb tags( $i , $i , $i ) $x = 0 while $x < $rowNum -- GitLab