Skip to content

Commit

Permalink
Rename sql query for clarity
Browse files Browse the repository at this point in the history
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
  • Loading branch information
Crola1702 committed Oct 18, 2024
1 parent cc6922b commit f7c9339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SELECT *
SELECT job_name,
error_name
FROM test_fail_issues
WHERE github_issue = "@param1@"
GROUP BY github_issue,
Expand Down
2 changes: 1 addition & 1 deletion database/scripts/lib/buildfarm_tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def self.test_regressions_known(sort_by: 'priority')
end

def self.issue_priority(issue_link)
sql_out = run_command('./sql_run.sh get_known_issues_job_link.sql', args: [issue_link])
sql_out = run_command('./sql_run.sh get_known_issue_errors.sql', args: [issue_link])
errors = sql_out.map {|e| e['error_name']}.uniq
jobs = sql_out.map {|e| e['job_name']}.uniq

Expand Down

0 comments on commit f7c9339

Please sign in to comment.