Skip to content

Commit

Permalink
[SPARK-13660][SQL][TESTS] ContinuousQuerySuite floods the logs with g…
Browse files Browse the repository at this point in the history
…arbage

## 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.
  • Loading branch information
keypointt authored and rxin committed Mar 15, 2016
1 parent 99bd2f0 commit 10251a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 / _}

Expand Down Expand Up @@ -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 / _)

Expand Down

0 comments on commit 10251a7

Please sign in to comment.