Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix merge between 07ae39d0ec and 1667057851 #20289

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,6 @@ class KafkaMicroBatchSourceSuite extends KafkaSourceSuiteBase {
// `failOnDataLoss` is `false`, we should not fail the query
assert(query.exception.isEmpty)
}
}

class KafkaSourceSuiteBase extends KafkaSourceTest {

import testImplicits._

test("SPARK-22956: currentPartitionOffsets should be set when no new data comes in") {
def getSpecificDF(range: Range.Inclusive): org.apache.spark.sql.Dataset[Int] = {
Expand Down Expand Up @@ -549,6 +544,11 @@ class KafkaSourceSuiteBase extends KafkaSourceTest {
CheckLastBatch(120 to 124: _*)
)
}
}

class KafkaSourceSuiteBase extends KafkaSourceTest {

import testImplicits._

test("cannot stop Kafka stream") {
val topic = newTopic()
Expand Down