You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/07/13 05:42:16 UTC
[GitHub] [spark] viirya commented on a change in pull request #33311: [SPARK-36109][SS][TEST] Check data after adding data to topic in KafkaSourceStressSuite
viirya commented on a change in pull request #33311:
URL: https://github.com/apache/spark/pull/33311#discussion_r668442575
##########
File path: external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaMicroBatchSourceSuite.scala
##########
@@ -2429,8 +2429,9 @@ class KafkaSourceStressSuite extends KafkaSourceTest {
(d, running) => {
Random.nextInt(5) match {
case 0 => // Add a new topic
- topics = topics ++ Seq(newStressTopic)
- AddKafkaData(topics.toSet, d: _*)(message = s"Add topic $newStressTopic",
Review comment:
Yea, that is why we see the error message looks like:
```
AddKafkaData(topics = Set(stress4, stress6, stress2, stress1, stress5, stress3), data = Range 15 until 20, message = Add topic stress7)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org