apache/spark — pull request #2440 by sryza (2014-09-18 01:07:21+00:00)
Title: SPARK-3574. Shuffle finish time always reported as -1

The included test waits 100 ms after job completion for task completion events to come in so it can verify they have reasonable finish times. Does anyone know a better way to wait on listener events that are expected to come in?