• Victor Zagorodny's avatar
    Make PipelineVulnerabilitiesFinder sort stable · acb56a7f
    Victor Zagorodny authored
    Security::PipelineVulnerabilitiesFinder sort is
    now stable contrary to the bare Ruby sort_by
    method. Using just sort_by leads to instability
    across different platforms (e.g., x86_64-linux and
    x86_64-darwin18) which in turn leads to different
    sorting results for the equal elements across
    these platforms. This is important because it
    breaks test suite results consistency between
    local and CI environment.
    acb56a7f
pipeline_vulnerabilities_finder_spec.rb 10.9 KB