This is an archive of the discontinued Mercurial Phabricator instance.

tersestatus: sort the dictionary before iterating on it
ClosedPublic

Authored by pulkit on Sep 19 2017, 10:17 PM.

Details

Summary

There has report of flakiness in test-status-terse.t. In the terse code, we are
iterating on a dictionary without sorting and since python dicts are unordered,
that can be a reason behind the flakiness. Before we have a better
implementation for the terse thing, let's make sure current implementation
possess minimum bugs.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Sep 19 2017, 10:17 PM
durin42 accepted this revision.Sep 20 2017, 12:27 PM
This revision is now accepted and ready to land.Sep 20 2017, 12:27 PM
This revision was automatically updated to reflect the committed changes.