Skip to content

Commit

Permalink
move new test out of shared class
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-torres committed Jan 17, 2018
1 parent 1667057 commit baee3c2
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit baee3c2

Please sign in to comment.