[size_diff] Fix nondeterminism in test
Occasionally, the order of diffs from DiffBinarySizes will return in
order Component C,A rather than A,C which causes a flake in the test,
this adds a sort.SliceStable to always return an alphebatized sort by
name.
Change-Id: Id0cacbfd386e0568f54d0d57415aa20695d5f648
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/892758
Fuchsia-Auto-Submit: Catherine Duncan <catduncan@google.com>
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
2 files changed