gpload: exit with os._exit to prevent hang (#5335)
gpload test case will run gpload with subprocess, read stdout and stderr from it and wait for exit. sys.exit in gpload does some cleanup may cause deadlock between test and gpload. os._exit will exit immediately, but we need to flush stdout and stderr before that.
Showing
想要评论请 注册 或 登录