You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by zs...@apache.org on 2018/01/17 06:27:31 UTC
spark git commit: Fix merge between 07ae39d0ec and 1667057851
Repository: spark
Updated Branches:
refs/heads/master 50345a2aa -> a963980a6
Fix merge between 07ae39d0ec and 1667057851
## What changes were proposed in this pull request?
The first commit added a new test, and the second refactored the class the test was in. The automatic merge put the test in the wrong place.
## How was this patch tested?
-
Author: Jose Torres <jo...@databricks.com>
Closes #20289 from jose-torres/fix.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a963980a
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a963980a
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a963980a
Branch: refs/heads/master
Commit: a963980a6d2b4bef2c546aa33acf0aa501d2507b
Parents: 50345a2
Author: Jose Torres <jo...@databricks.com>
Authored: Tue Jan 16 22:27:28 2018 -0800
Committer: Shixiong Zhu <zs...@gmail.com>
Committed: Tue Jan 16 22:27:28 2018 -0800
----------------------------------------------------------------------
.../org/apache/spark/sql/kafka010/KafkaSourceSuite.scala | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/a963980a/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala
----------------------------------------------------------------------
diff --git a/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala b/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala
index 1acff61..62f6a34 100644
--- a/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala
+++ b/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala
@@ -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] = {
@@ -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()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org