[PATCH compass-ci 1/2] lib/compare_matrixes.rb skip .message|.log metric

25 Feb
2021
25 Feb
'21
2:34 p.m.
[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) -- 2.23.0
1461
Age (days ago)
1461
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lu Weitao