fix some error
This commit is contained in:
parent
d5a4e0c368
commit
7ef5e333b6
|
@ -211,7 +211,7 @@ pipeline {
|
|||
</table></font>
|
||||
</body>
|
||||
</html>''',
|
||||
to: "${CHANGE_AUTHOR_EMAIL}",
|
||||
to: "${env.CHANGE_AUTHOR_EMAIL}",
|
||||
from: "support@taosdata.com"
|
||||
)
|
||||
}
|
||||
|
@ -249,7 +249,7 @@ pipeline {
|
|||
</table></font>
|
||||
</body>
|
||||
</html>''',
|
||||
to: "${CHANGE_AUTHOR_EMAIL}",
|
||||
to: "${env.CHANGE_AUTHOR_EMAIL}",
|
||||
from: "support@taosdata.com"
|
||||
)
|
||||
}
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
import taos
|
||||
import datetime
|
||||
import random
|
||||
# host= '127.0.0.1'
|
||||
# user = 'root'
|
||||
# password = 'taosdata'
|
||||
# conn = taos.connect(
|
||||
# host,
|
||||
# user,
|
||||
# password,
|
||||
# )
|
||||
# cl = conn.cursor()
|
||||
# cl.execute("select first(_c0),last(_c0) from test.st0 " )
|
||||
# dd1=datetime.datetime.now()+ datetime.timedelta(days=5)
|
||||
# sql = 'select count(*) from test.st0 where ts <= ' + "'" + str(dd1) + "'"
|
||||
# print(sql)
|
||||
# cl.execute(sql)
|
||||
# for data in cl:
|
||||
# print(data[0])
|
||||
# # print(cl[0],cl[1])
|
||||
# # d1 = data[0]
|
||||
# # d2 = data[1]
|
||||
|
||||
# # print(d1+(d2-d1)/2)
|
||||
# print(random.randrange(-100,100))
|
||||
# random.randrange(-100,100)
|
||||
print(random.getrandbits(1))
|
|
@ -27,6 +27,6 @@ if $rows != 7 then
|
|||
endi
|
||||
|
||||
|
||||
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||
system sh/exec.sh -n dnode2 -s stop -x SIGINT
|
||||
system sh/exec.sh -n dnode3 -s stop -x SIGINT
|
||||
# system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||
# system sh/exec.sh -n dnode2 -s stop -x SIGINT
|
||||
# system sh/exec.sh -n dnode3 -s stop -x SIGINT
|
Loading…
Reference in New Issue