fix(os): TDinternal CI pytest error.

This commit is contained in:
afwerar 2022-05-10 20:52:00 +08:00
parent 005abe54ec
commit 30179d48d6
1 changed files with 1 additions and 2 deletions

View File

@ -460,8 +460,7 @@ class TDDnodes:
processID = subprocess.check_output(
psCmd, shell=True).decode("utf-8")
binPath = os.path.dirname(os.path.realpath(__file__))
binPath = binPath + "/../../../debug/"
binPath = self.dnodes[0].getPath() + "/../../../"
tdLog.debug("binPath %s" % (binPath))
binPath = os.path.realpath(binPath)
tdLog.debug("binPath real path %s" % (binPath))