Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Nov 29, 2016
1 parent 247ada6 commit 8ac76c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 216 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class StreamingQuerySuite extends StreamTest with BeforeAndAfter with Logging {

/** Whether metrics of a query is registered for reporting */
def isMetricsRegistered(query: StreamingQuery): Boolean = {
val sourceName = s"StructuredStreaming.${query.name}"
val sourceName = s"spark.streaming.${query.name}"
val sources = spark.sparkContext.env.metricsSystem.getSourcesByName(sourceName)
require(sources.size <= 1)
sources.nonEmpty
Expand Down

0 comments on commit 8ac76c6

Please sign in to comment.