From f627320661d7bfde42157e49799008e452d6a753 Mon Sep 17 00:00:00 2001 From: Konstantinos Tsamis Date: Wed, 19 Feb 2025 12:57:24 +0100 Subject: [PATCH] Check variable if not nil for flaky tests tagging --- testsuite/ext-tools/collect_and_tag_flaky_tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/ext-tools/collect_and_tag_flaky_tests.rb b/testsuite/ext-tools/collect_and_tag_flaky_tests.rb index 92ebfe440d63..6ad5763f6a5f 100755 --- a/testsuite/ext-tools/collect_and_tag_flaky_tests.rb +++ b/testsuite/ext-tools/collect_and_tag_flaky_tests.rb @@ -67,7 +67,7 @@ def fetch_github_issues(organization, project_number, column, headers) nodes = items['nodes'] nodes.each do |item| status_field = item['fieldValueByName'] - next if status_field['name'] != column + next if status_field.nil? || status_field['name'] != column if status_field && status_field['item'] && status_field['item']['content'] issue_title = status_field['item']['content']['title']