Merge pull request #2735 from taosdata/hotfix/sangshuduo/fix-sh-exec-sig-for-coverage

Hotfix/sangshuduo/fix sh exec sig for coverage
This commit is contained in:
Shengliang Guan 2020-07-22 11:39:34 +08:00 committed by GitHub
commit 0f0f264288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ if __name__ == "__main__":
processID = subprocess.check_output(usePortPID, shell=True)
if processID:
killCmd = "kill -9 %s" % processID
killCmd = "kill -TERM %s" % processID
os.system(killCmd)
fuserCmd = "fuser -k -n tcp %d" % port
os.system(fuserCmd)