You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/03/15 09:02:31 UTC

spark git commit: [SPARK-13660][SQL][TESTS] ContinuousQuerySuite floods the logs with garbage

Repository: spark
Updated Branches:
  refs/heads/master 99bd2f0e9 -> 10251a745


[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 <ia...@126.com>

Closes #11703 from keypointt/SPARK-13660.


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

Branch: refs/heads/master
Commit: 10251a7457e44fa33f13274ccb2266bc5e931363
Parents: 99bd2f0
Author: Xin Ren <ia...@126.com>
Authored: Tue Mar 15 01:02:28 2016 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Tue Mar 15 01:02:28 2016 -0700

----------------------------------------------------------------------
 .../org/apache/spark/sql/streaming/ContinuousQuerySuite.scala    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/10251a74/sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQuerySuite.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQuerySuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQuerySuite.scala
index dac1a39..84ed017 100644
--- a/sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQuerySuite.scala
+++ b/sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQuerySuite.scala
@@ -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 / _)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org