This is an archive of the discontinued Mercurial Phabricator instance.

tests: fix too many files error in datapack store
ClosedPublic

Authored by durham on Nov 16 2017, 12:23 PM.
Tags
None
Subscribers
None

Details

Reviewers
phillco
Group Reviewers
Restricted Project
Commits
rFBHGX80dab2643ade: tests: fix too many files error in datapack store
Summary

If the os limited a given process to a <200 files open, this test would fail.
Let's change the cache size to be smaller to avoid this.

Also, it turns out the cache size and number of packs created doesn't actually
seem to affect this test. I changed the numbers in a few ways and the test never
failed.

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

durham created this revision.Nov 16 2017, 12:23 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 16 2017, 12:23 PM
phillco accepted this revision.Nov 16 2017, 12:46 PM
This revision is now accepted and ready to land.Nov 16 2017, 12:46 PM
This revision was automatically updated to reflect the committed changes.