This is an archive of the discontinued Mercurial Phabricator instance.

tweakdefaults: fix test to avoid unnecessary double execution
ClosedPublic

Authored by singhsrb on Sep 25 2017, 3:44 PM.
Tags
None
Subscribers

Details

Summary

D802 added two test cases in the test but the test cases are only used
for a very little portion of the test and therefore, result in needless double
execution for most of the test. Therefore, this commit removes the test cases
and instead, handles the different cases by passing the corresponding config
option.

Test Plan

ran test-tweakdefaults.t

Diff Detail

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

Event Timeline

singhsrb created this revision.Sep 25 2017, 3:44 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptSep 25 2017, 3:44 PM
singhsrb edited the test plan for this revision. (Show Details)Sep 25 2017, 3:45 PM
quark accepted this revision.Sep 25 2017, 6:43 PM
quark added a subscriber: quark.

Looks good. Thanks!

This revision is now accepted and ready to land.Sep 25 2017, 6:43 PM

I've refactored this code in another commit. See D812. Let's sync up about the best way forward here.

ryanmce requested changes to this revision.Sep 26 2017, 3:36 AM
This revision now requires changes to proceed.Sep 26 2017, 3:36 AM
This revision was automatically updated to reflect the committed changes.