DescriptionFix get_latest_build to return actual latest build
The code and tests implicitly assume that converting from a list
to a set to a list again does not change ordering. This seems
to be true for small lists, such as the one in the unit tests. For
a list of, say, 200 items, this is not true.
The fix is to add a call to sorted() before indexing the list
of latest cached builds.
BUG=305392
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159201
Patch Set 1 #Patch Set 2 : remove redundant test. #
Messages
Total messages: 4 (0 generated)
|