( )⚙ D2286 tests: actually check that HGDEMANDIMPORT=disable disables demandimport

This is an archive of the discontinued Mercurial Phabricator instance.

tests: actually check that HGDEMANDIMPORT=disable disables demandimport
ClosedPublic

Authored by martinvonz on Feb 16 2018, 2:40 PM.

Details

Summary

At the point in the test where we were checking that the 'node' got
eagerly loaded, it had already been loaded (via the pvec module), so
our check wasn't doing anything (i.e. the test would pass even if you
removed the line that set HGDEMANDIMPORT=disable). Let's move this
test earlier so it tests what it was meant to test.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Feb 16 2018, 2:40 PM
durin42 accepted this revision.Feb 16 2018, 5:06 PM
This revision is now accepted and ready to land.Feb 16 2018, 5:06 PM
This revision was automatically updated to reflect the committed changes.