Repository: spark
Updated Branches:
  refs/heads/branch-2.1 6d292069d -> 3071d876b


[SPARK-18192][MINOR][FOLLOWUP] Missed json test in FileStreamSinkSuite

## What changes were proposed in this pull request?

This PR proposes to fix

```diff
 test("FileStreamSink - json") {
-  testFormat(Some("text"))
+  testFormat(Some("json"))
 }
```

`text` is being tested above

```
test("FileStreamSink - text") {
  testFormat(Some("text"))
}
```

## How was this patch tested?

Fixed test in `FileStreamSinkSuite.scala`.

Author: hyukjinkwon <[email protected]>

Closes #15785 from HyukjinKwon/SPARK-18192.

(cherry picked from commit a87471c83006ec11c372b4f915e17a0501f1f536)
Signed-off-by: Herman van Hovell <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3071d876
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3071d876
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3071d876

Branch: refs/heads/branch-2.1
Commit: 3071d876b72eea71b227067204bc754e8555b020
Parents: 6d29206
Author: hyukjinkwon <[email protected]>
Authored: Sat Nov 5 13:41:35 2016 +0100
Committer: Herman van Hovell <[email protected]>
Committed: Sat Nov 5 13:41:49 2016 +0100

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3071d876/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
----------------------------------------------------------------------
diff --git 
a/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
 
b/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
index 0f140f9..fa97d92 100644
--- 
a/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
+++ 
b/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
@@ -152,7 +152,7 @@ class FileStreamSinkSuite extends StreamTest {
   }
 
   test("FileStreamSink - json") {
-    testFormat(Some("text"))
+    testFormat(Some("json"))
   }
 
   def testFormat(format: Option[String]): Unit = {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to