You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by sc...@apache.org on 2018/10/30 17:25:02 UTC

[beam] branch master updated: Fix Community Metrics Prober test (#6876)

This is an automated email from the ASF dual-hosted git repository.

scott pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 86bd321  Fix Community Metrics Prober test (#6876)
86bd321 is described below

commit 86bd3218e94a6620d8e4389b81089a8d74b54c7a
Author: Scott Wegner <sc...@apache.org>
AuthorDate: Tue Oct 30 10:24:48 2018 -0700

    Fix Community Metrics Prober test (#6876)
---
 .test-infra/metrics/src/test/groovy/ProberTests.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.test-infra/metrics/src/test/groovy/ProberTests.groovy b/.test-infra/metrics/src/test/groovy/ProberTests.groovy
index 944310a..4b65dbe 100644
--- a/.test-infra/metrics/src/test/groovy/ProberTests.groovy
+++ b/.test-infra/metrics/src/test/groovy/ProberTests.groovy
@@ -35,13 +35,13 @@ class ProberTests {
     def allDashboards = new JsonSlurper().parseText(allDashboardsJson)
     def dashboardNames = allDashboards.title
     // Validate at least one expected dashboard exists
-    assert dashboardNames.contains('Post-commit Tests') : 'Expected dashboard does not exist'
+    assert dashboardNames.contains('Post-commit Test Reliability') : 'Expected dashboard does not exist'
     assert dashboardNames.size > 0 : "No dashboards found. Check Grafana dashboard initialization script."
   }
 
   @Test
   void CheckGrafanaStalenessAlerts() {
-    def alertsJson = "${grafanaEndpoint}/api/alerts?dashboardId=data-freshness".toURL().text
+    def alertsJson = "${grafanaEndpoint}/api/alerts?dashboardQuery=Source%20Data%20Freshness".toURL().text
     def alerts = new JsonSlurper().parseText(alertsJson)
     assert alerts.size > 0
     alerts.each { alert ->