Skip to content
Snippets Groups Projects
Commit 3071d876 authored by hyukjinkwon's avatar hyukjinkwon Committed by Herman van Hovell
Browse files

[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 <gurwls223@gmail.com>

Closes #15785 from HyukjinKwon/SPARK-18192.

(cherry picked from commit a87471c8)
Signed-off-by: default avatarHerman van Hovell <hvanhovell@databricks.com>
parent 6d292069
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ class FileStreamSinkSuite extends StreamTest {
}
test("FileStreamSink - json") {
testFormat(Some("text"))
testFormat(Some("json"))
}
def testFormat(format: Option[String]): Unit = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment