1. [SPARK-25631][SPARK-25632][SQL][TEST] Improve the test runtime of (details)
Commit 9d4dd7992bb8c3bd2ae3081734e6a5ed8531fddb by sean.owen
[SPARK-25631][SPARK-25632][SQL][TEST] Improve the test runtime of
## What changes were proposed in this pull request? Set a reasonable
poll timeout thats used while consuming topics/partitions from kafka. In
the absence of it, a default of 2 minute is used as the timeout values.
And all the negative tests take a minimum of 2 minute to execute.
After this change, we save about 4 minutes in this suite.
## How was this patch tested? Test fix.
Closes #22670 from dilipbiswal/SPARK-25631.
Authored-by: Dilip Biswal <> Signed-off-by: Sean Owen
The file was modifiedexternal/kafka-0-10/src/test/scala/org/apache/spark/streaming/kafka010/DirectKafkaStreamSuite.scala (diff)
The file was modifiedexternal/kafka-0-10/src/test/scala/org/apache/spark/streaming/kafka010/KafkaRDDSuite.scala (diff)