This is an archive of the discontinued Mercurial Phabricator instance.

test-patchbomb: use mocktime
ClosedPublic

Authored by quark on Sep 29 2017, 2:48 PM.

Details

Summary

The test was using system time for displaying ETAs, which could be flaky if
the sysload is high. This patch extracts mocktime.py from test-progress.t to
make sure test-patchbomb.t is unaffected by system time.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

quark created this revision.Sep 29 2017, 2:48 PM
indygreg accepted this revision.Sep 29 2017, 2:56 PM
This revision is now accepted and ready to land.Sep 29 2017, 2:56 PM
This revision was automatically updated to reflect the committed changes.