GitHub user ahmedahamid opened a pull request: https://github.com/apache/samza/pull/485
SAMZA-1261: Fix TestProcessJob flaky test Fix flaky test TestProcessJob testProcessJobKillShouldWork which was failing due to thread timing issues that were causing the test to fail intermittently. Also refactored ProcessJob to make it less prone to similar issues and added more unit tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ahmedahamid/samza master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/samza/pull/485.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #485 ---- commit e929ded34412d6f6ef45aef5a58e5eaff53f0927 Author: Ahmed Abdul Hamid <ahabdulh@...> Date: 2018-04-23T22:46:41Z SAMZA-1261: Fix TestProcessJob flaky test. ---- ---