Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Oct 26, 2024
1 parent 054a0bc commit 7a040ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/OpenSearchMetricsQuery.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class OpenSearchMetricsQuery {
}

def fetchMetrics(String query) {
this.script.println('Running query: '+ query)
def response = script.sh(
script: """
set -e
Expand Down
1 change: 1 addition & 0 deletions vars/updateIntegTestFailureIssues.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ void call(Map args = [:]) {
if (!failedComponents.isEmpty() && failedComponents.contains(component.name)) {
println("Integration test failed for ${component.name}, creating github issue")
def testData = []
println('Retrieving failed component data for '+ component.name)
def queryData = componentIntegTestStatus.getComponentIntegTestFailedData(component.name)
def totalHits = queryData.hits.hits.collect { it._source }
totalHits.each { hit ->
Expand Down

0 comments on commit 7a040ec

Please sign in to comment.