Repository: spark
Updated Branches:
  refs/heads/master e2648d355 -> a87471c83


[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.


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

Branch: refs/heads/master
Commit: a87471c83006ec11c372b4f915e17a0501f1f536
Parents: e2648d3
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:35 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/a87471c8/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