add fuser -k -n tcp 6030 to release network port.

This commit is contained in:
Shuduo Sang 2020-05-20 15:04:42 +08:00
parent b2881c553a
commit 721c1cc4f3
2 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,7 @@ matrix:
- python3-pip
- python3-setuptools
- valgrind
- psmisc
before_script:
- cd ${TRAVIS_BUILD_DIR}
@ -142,6 +143,7 @@ matrix:
- python3-pip
- python3-setuptools
- lcov
- psmisc
before_script:
- cd ${TRAVIS_BUILD_DIR}

View File

@ -79,6 +79,9 @@ if __name__ == "__main__":
time.sleep(1)
processID = subprocess.check_output(psCmd, shell=True)
fuserCmd = "fuser -k -n tcp 6030"
subprocess.check_output(fuserCmd, shell=True)
tdLog.info('stop All dnodes')
sys.exit(0)