Page MenuHomePhabricator

nodemap: test various corruption scenario for the persistent nodemap
ClosedPublic

Authored by marmoute on Fri, Apr 16, 12:08 PM.

Details

Summary

Corruption can happens in the wild, either because some of our code is buggy or
because repository were shared/transfered in a strange manners.

Currently one of the corruption case (not enough data) lead to a crash. We add
explicit tests for theses cases.

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

marmoute created this revision.Fri, Apr 16, 12:08 PM
pulkit accepted this revision.Sat, Apr 17, 4:47 PM
This revision is now accepted and ready to land.Sat, Apr 17, 4:47 PM