spark-instrumented-optimizer/resource-managers
Holden Karau 4080c4beeb [SPARK-28937][SPARK-28936][KUBERNETES] Reduce test flakyness
### What changes were proposed in this pull request?

Switch from using a Thread sleep for waiting for commands to finish to just waiting for the command to finish with a watcher & improve the error messages in the SecretsTestsSuite.

### Why are the changes needed?
Currently some of the Spark Kubernetes tests have race conditions with command execution, and the frequent use of eventually makes debugging test failures difficult.

### Does this PR introduce any user-facing change?

No

### How was this patch tested?

Existing tests pass after removal of thread.sleep

Closes #25765 from holdenk/SPARK-28937SPARK-28936-improve-kubernetes-integration-tests.

Authored-by: Holden Karau <hkarau@apple.com>
Signed-off-by: Holden Karau <hkarau@apple.com>
2019-09-20 10:08:16 -07:00
..
kubernetes [SPARK-28937][SPARK-28936][KUBERNETES] Reduce test flakyness 2019-09-20 10:08:16 -07:00
mesos [SPARK-29113][DOC] Fix some annotation errors and remove meaningless annotations in project 2019-09-18 13:12:18 +09:00
yarn [SPARK-29112][YARN] Expose more details when ApplicationMaster reporter faces a fatal exception 2019-09-18 14:11:39 +08:00