diff --git a/tests/pytest/test.py b/tests/pytest/test.py index ab08b08db2dad6af2f9844a2da9797fc0f500d40..86417ea93161c476bcbcb597200a2d8b698dc2da 100644 --- a/tests/pytest/test.py +++ b/tests/pytest/test.py @@ -80,7 +80,7 @@ if __name__ == "__main__": processID = subprocess.check_output(psCmd, shell=True) fuserCmd = "fuser -k -n tcp 6030" - subprocess.check_output(fuserCmd, shell=True) + os.system(fuserCmd) tdLog.info('stop All dnodes') sys.exit(0)