diff --git a/.travis.yml b/.travis.yml index 9bc576dcf9..9fefa61f8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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} diff --git a/tests/pytest/test.py b/tests/pytest/test.py index 9d76b0a70e..ab08b08db2 100644 --- a/tests/pytest/test.py +++ b/tests/pytest/test.py @@ -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)