diff --git a/.travis.yml b/.travis.yml index 9bc576dcf9de328032037162f0c882e7ccbf4057..9fefa61f8cdea9e44308a4c1d4446f7916efdcb8 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 9d76b0a70e56d9a749b8ba5de7ca57c896809aa6..ab08b08db2dad6af2f9844a2da9797fc0f500d40 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)