print("dnode:%d is running with %s "%(self.index,cmd))
tdLog.debug("dnode:%d is running with %s "%(self.index,cmd))
ifself.valgrind==0:
time.sleep(0.1)
...
...
@@ -407,7 +405,6 @@ class TDDnode:
ifos.system(cmd)!=0:
tdLog.exit(cmd)
self.running=1
print("dnode:%d is running with %s "%(self.index,cmd))
tdLog.debug("dnode:%d is running with %s "%(self.index,cmd))
ifself.valgrind==0:
time.sleep(0.1)
...
...
@@ -521,7 +518,7 @@ class TDDnode:
ifself.running!=0:
ifplatform.system().lower()=='windows':
psCmd="for /f %a in ('wmic process where \"name='taosd.exe' and CommandLine like '%%dnode%d%%'\" get processId ^| xargs echo ^| awk ^'{print $2}^'') do @(ps | grep %a | awk '{print $1}' | xargs kill -INT )"%(self.index)
psCmd="for /f %%a in ('wmic process where \"name='taosd.exe' and CommandLine like '%%dnode%d%%'\" get processId ^| xargs echo ^| awk ^'{print $2}^'') do @(ps | grep %%a | awk '{print $1}' | xargs kill -INT )"%(self.index)
@@ -472,7 +472,8 @@ sql create table t2 using st tags(2,2,2);
sql create table t3 using st tags(2,2,2);
sql create table t4 using st tags(2,2,2);
sql create table t5 using st tags(2,2,2);
sql create stream streams2 trigger at_once into streamt as select _wstart, count(*) c1, sum(a) c3,max(b) c4 from st partition by tbname interval(10s)
sql create stream streams2 trigger at_once into streamt as select _wstart, count(*) c1, sum(a) c3,max(b) c4 from st partition by tbname interval(10s);
sql create stream streams3 trigger at_once into streamt3 as select _wstart, count(*) c1, sum(a) c3,max(b) c4, now c5 from st partition by tbname interval(10s);
sql insert into t1 values(1648791213000,1,1,1,1.0) t2 values(1648791213000,2,2,2,2.0) t3 values(1648791213000,3,3,3,3.0) t4 values(1648791213000,4,4,4,4.0);