hequn8128 commented on issue #9991: [FLINK-14478][python] optimize current python test cases to reduce test time. URL: https://github.com/apache/flink/pull/9991#issuecomment-546311065 > @hequn8128 Thanks for your comments! I have tried running the tests with `pytest-xdist` and `pytest-parallel`. They reduce the test time significantly in my local machine, but not work on travis (The test time even increased). I guess that travis allocates too few resources to each task so that parallel execution does not lead to higher performance. > > The build of using `pytest-parallel` is https://travis-ci.org/WeiZhong94/flink/builds/602249179 > > The build of using `pytest-xdist` is https://travis-ci.org/WeiZhong94/flink/builds/602626771 Thanks for your investigation! I will merge this PR now as it reduces the test time from about 28min to about 12min. We can do more investigation about those parallel test framework later. Best, Hequn
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
