GitHub user vanzin opened a pull request:
https://github.com/apache/spark/pull/20050
[SPARK-22864][core] Disable allocation schedule in
ExecutorAllocationManagerSuite.
The scheduled task was racing with the test code and could influence
the values returned to the test, triggering assertions. The change adds
a new config that is only used during testing, and overrides it
on the affected test suite.
The issue in the bug can be reliably reproduced by reducing the interval
in the test (e.g. to 10ms).
While there, fixed an exception that shows up in the logs while these
tests run, and simplified some code (which was also causing misleading
log messages in the log output of the test).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vanzin/spark SPARK-22864
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20050.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 #20050
----
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]