[Why] the metric end with .message|.log, no need to compare
Signed-off-by: Lu Weitao luweitaobe@163.com --- lib/compare_matrixes.rb | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/compare_matrixes.rb b/lib/compare_matrixes.rb index ffc6500..d004099 100644 --- a/lib/compare_matrixes.rb +++ b/lib/compare_matrixes.rb @@ -163,6 +163,7 @@ def get_matrixes_values(matrixes_list, latest_jobs, options) matrixes_size = get_matrixes_size(matrixes_list) get_matrixes_fields(matrixes_list).each do |field| next if field == 'stats_source' + next if field.end_with?('.message', '.log')
success = successful?(field) next unless success || latest_failure?(field, latest_jobs)