fix(os): run case on win
This commit is contained in:
parent
f6fb34269f
commit
704fc25622
|
@ -148,9 +148,11 @@ if __name__ == "__main__":
|
||||||
tdDnodes.deploy(1,{})
|
tdDnodes.deploy(1,{})
|
||||||
tdDnodes.startWin(1)
|
tdDnodes.startWin(1)
|
||||||
else:
|
else:
|
||||||
remote_conn = Connection("root@%s"%host)
|
# remote_conn = Connection("root@%s"%host)
|
||||||
with remote_conn.cd('/var/lib/jenkins/workspace/TDinternal/community/tests/pytest'):
|
# with remote_conn.cd('/var/lib/jenkins/workspace/TDinternal/community/tests/pytest'):
|
||||||
remote_conn.run("python3 ./test.py")
|
# remote_conn.run("python3 ./test.py")
|
||||||
|
os.system("docker exec -d tdengine_test bash -c \"cd ~/TDinternal/community/tests/pytest && python3 ./test.py\"")
|
||||||
|
time.sleep(2)
|
||||||
tdDnodes.init(deployPath)
|
tdDnodes.init(deployPath)
|
||||||
conn = taos.connect(
|
conn = taos.connect(
|
||||||
host="%s" % (host),
|
host="%s" % (host),
|
||||||
|
|
Loading…
Reference in New Issue