GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/18314
[SPARK-16251][SPARK-20200][Core][Test]Flaky test:
org.apache.spark.rdd.LocalCheckpointSuite.missing checkpoint block fails with
informative message
## What changes were proposed in this pull request?
Currently we don't wait to confirm the removal of the block from the
slave's BlockManager, if the removal takes too much time, we will fail the
assertion in this test case.
The failure can be easily reproduced if we sleep for a while before we
remove the block in BlockManagerSlaveEndpoint.receiveAndReply().
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark LocalCheckpointSuite
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18314.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 #18314
----
commit 7515a5bf6f3899081b528dc91951e286ac6a3e1c
Author: Xingbo Jiang <[email protected]>
Date: 2017-06-15T08:52:22Z
fix flaky test case.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]