Merge pull request #12322 from taosdata/fix/ZhiqiangWang/fix-15311-TDinternal-CI-pytest-error

fix(os): TDinternal CI pytest error.
This commit is contained in:
Zhiqiang Wang 2022-05-10 21:27:11 +08:00 committed by GitHub
commit bdd0ebd810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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))