Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/15368#discussion_r82100865
--- Diff:
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala
---
@@ -151,6 +151,7 @@ class KafkaSourceSuite extends KafkaSourceTest {
val mapped = kafka.map(kv => kv._2.toInt + 1)
testStream(mapped)(
+ makeSureGetOffsetCalled,
--- End diff --
@tdas I noticed this test will fail with InterruptedException if we stop
the stream before the stream thread starts. I just added this line to make sure
we will stop the stream after the thread starts.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]