spark-instrumented-optimizer/core/src/test
Josh Rosen 2d76e44b1a [SPARK-11647] Attempt to reduce time/flakiness of Thriftserver CLI and SparkSubmit tests
This patch aims to reduce the test time and flakiness of HiveSparkSubmitSuite, SparkSubmitSuite, and CliSuite.

Key changes:

- Disable IO synchronization calls for Derby writes, since durability doesn't matter for tests. This was done for HiveCompatibilitySuite in #6651 and resulted in huge test speedups.
- Add a few missing `--conf`s to disable various Spark UIs. The CliSuite, in particular, never disabled these UIs, leaving it prone to port-contention-related flakiness.
- Fix two instances where tests defined `beforeAll()` methods which were never called because the appropriate traits were not mixed in. I updated these tests suites to extend `BeforeAndAfterEach` so that they play nicely with our `ResetSystemProperties` trait.

Author: Josh Rosen <joshrosen@databricks.com>

Closes #9623 from JoshRosen/SPARK-11647.
2015-11-11 14:30:38 -08:00
..
java [SPARK-11389][CORE] Add support for off-heap memory to MemoryManager 2015-11-06 18:17:34 -08:00
resources [SPARK-8673] [LAUNCHER] API and infrastructure for communicating with child apps. 2015-10-09 15:28:09 -05:00
scala/org/apache [SPARK-11647] Attempt to reduce time/flakiness of Thriftserver CLI and SparkSubmit tests 2015-11-11 14:30:38 -08:00