aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorzsxwing <zsxwing@gmail.com>2015-10-01 07:09:31 -0700
committerMarcelo Vanzin <vanzin@cloudera.com>2015-10-01 07:09:31 -0700
commit9b3e7768a27d51ddd4711c4a68a428a6875bd6d7 (patch)
treed7bd49b1339141c6781e0e1b2735f93dd14dc84b /sql
parentf21e2da03fbf8041fece476e3d5c699aef819451 (diff)
downloadspark-9b3e7768a27d51ddd4711c4a68a428a6875bd6d7.tar.gz
spark-9b3e7768a27d51ddd4711c4a68a428a6875bd6d7.tar.bz2
spark-9b3e7768a27d51ddd4711c4a68a428a6875bd6d7.zip
[SPARK-10058] [CORE] [TESTS] Fix the flaky tests in HeartbeatReceiverSuite
Fixed the test failure here: https://amplab.cs.berkeley.edu/jenkins/view/Spark-QA-Test/job/Spark-1.5-SBT/116/AMPLAB_JENKINS_BUILD_PROFILE=hadoop2.2,label=spark-test/testReport/junit/org.apache.spark/HeartbeatReceiverSuite/normal_heartbeat/ This failure is because `HeartbeatReceiverSuite. heartbeatReceiver` may receive `SparkListenerExecutorAdded("driver")` sent from [LocalBackend](https://github.com/apache/spark/blob/8fb3a65cbb714120d612e58ef9d12b0521a83260/core/src/main/scala/org/apache/spark/scheduler/local/LocalBackend.scala#L121). There are other race conditions in `HeartbeatReceiverSuite` because `HeartbeatReceiver.onExecutorAdded` and `HeartbeatReceiver.onExecutorRemoved` are asynchronous. This PR also fixed them. Author: zsxwing <zsxwing@gmail.com> Closes #8946 from zsxwing/SPARK-10058.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions