Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/11439#discussion_r54948774
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQueryManagerSuite.scala
---
@@ -49,7 +50,21 @@ class ContinuousQueryManagerSuite extends StreamTest
with SharedSQLContext with
sqlContext.streams.resetTerminated()
}
- test("listing") {
+ /**
+ * Disable stdout and stderr when running the test. To not output the
logs to the console,
+ * ConsoleAppender's `follow` should be set to `true` so that it will
honors reassignments of
+ * System.out or System.err. Otherwise, ConsoleAppender will still
output to the console even if
+ * we change System.out and System.err.
+ */
+ private def testQuietly(name: String)(f: => Unit): Unit = {
--- End diff --
Maybe we should put this somewhere more general?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]