Skip to content
Snippets Groups Projects
Commit 10251a74 authored by Xin Ren's avatar Xin Ren Committed by Reynold Xin
Browse files

[SPARK-13660][SQL][TESTS] ContinuousQuerySuite floods the logs with garbage

## What changes were proposed in this pull request?

Use method 'testQuietly' to avoid ContinuousQuerySuite flooding the console logs with garbage

Make ContinuousQuerySuite not output logs to the console. The logs will still output to unit-tests.log.

## How was this patch tested?

Just check Jenkins output.

Author: Xin Ren <iamshrek@126.com>

Closes #11703 from keypointt/SPARK-13660.
parent 99bd2f0e
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ class ContinuousQuerySuite extends StreamTest with SharedSQLContext {
import AwaitTerminationTester._
import testImplicits._
test("lifecycle states and awaitTermination") {
testQuietly("lifecycle states and awaitTermination") {
val inputData = MemoryStream[Int]
val mapped = inputData.toDS().map { 6 / _}
......@@ -59,7 +59,7 @@ class ContinuousQuerySuite extends StreamTest with SharedSQLContext {
)
}
test("source and sink statuses") {
testQuietly("source and sink statuses") {
val inputData = MemoryStream[Int]
val mapped = inputData.toDS().map(6 / _)
......
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