diff --git a/tests/pytest/test.py b/tests/pytest/test.py index ab08b08db2..86417ea931 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)