GitHub user attilapiros opened a pull request:
https://github.com/apache/spark/pull/21280
[SPARK-19181][Core] Fixing flaky "SparkListenerSuite.local metrics"
## What changes were proposed in this pull request?
Sometimes "SparkListenerSuite.local metrics" test fails because the average
of executorDeserializeTime is too short. As @squito suggested to avoid these
situations in one of the task a reference introduced to an object implementing
a custom Externalizable.readExternal which sleeps 1ms before returning.
## How was this patch tested?
With unit tests (and checking the effect of this change to the average in
the unit test log with a much larger sleep time).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/attilapiros/spark SPARK-19181
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21280.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 #21280
----
commit 491db75f448a0118c6203c7511203d646471b8c4
Author: âattilapirosâ <piros.attila.zsolt@...>
Date: 2018-05-08T09:24:42Z
Initial version
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]