sapling/edenscm/hgext
Mark Thomas b44e2103d7 simplecache: don't use memcache in tests
Summary:
The simplecache test attempts to connect to a memcache instance on localhost.
This means the test fails if a memcache instance is not available.

Remove the use of memcache in the test.  We still test local files, and assume
that memcache itself works.

Also corrupt the correct key when testing corruption handling, and document the
config options.

Reviewed By: quark-zju

Differential Revision: D13818471

fbshipit-source-id: 6ca7f575aa813f95773144be5337796f029ffd90
2019-02-01 19:19:36 -08:00
..
absorb codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
amend codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
commitcloud codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
convert codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
extlib codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fastannotate codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fastmanifest codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fsmonitor rust: move bindings to a single python extension 2019-02-01 17:53:22 -08:00
hgevents codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
hggit rust: move bindings to a single python extension 2019-02-01 17:53:22 -08:00
hgsubversion codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
highlight codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
infinitepush codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
lfs codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
p4fastimport codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
perfsuite doc: fix rst format 2019-01-30 14:57:42 -08:00
pushrebase pushrebase: move selecting commit date in a separate file 2019-02-01 09:42:57 -08:00
remotefilelog rust: move bindings to a single python extension 2019-02-01 17:53:22 -08:00
repogenerator codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
treemanifest codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
__init__.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
arcdiff.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
automv.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
blackbox.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
catnotate.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
checkmessagehook.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
chistedit.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
churn.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
cleanobsstore.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
clienttelemetry.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
clindex.pyx codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
clonebundles.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
commitextras.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
conflictinfo.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
copytrace.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
crdump.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
debugcommitmessage.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
debugshell.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
dialect.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
directaccess.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
dirsync.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
drop.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
edrecord.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
eol.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
errorredirect.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
extdiff.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
extorder.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
extutil.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fastlog.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fbconduit.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fbhistedit.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fetch.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fixcorrupt.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
generic_bisect.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
githelp.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
gitlookup.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
gitrevset.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
globalrevs.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
gpg.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
grepdiff.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
grpcheck.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
hgsql.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
hiddenerror.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
histedit.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
infinitepushbackup.py doc: fix rst format 2019-01-30 14:57:42 -08:00
interactiveui.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
journal.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
linkrevcache.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
logginghelper.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
lz4revlog.py rust: move bindings to a single python extension 2019-02-01 17:53:22 -08:00
mergedriver.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
morecolors.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
morestatus.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
myparent.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
nointerrupt.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
ownercheck.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
patchbomb.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
patchrmdir.pyx codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
phabdiff.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
phabstatus.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
phrevset.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
progressfile.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
pullcreatemarkers.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
purge.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
rage.py doc: fix rst format 2019-01-30 14:57:42 -08:00
rebase.py doc: fix rst format 2019-01-30 14:57:42 -08:00
remotenames.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
reset.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
sampling.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
schemes.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
share.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
shelve.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
sigtrace.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
simplecache.py simplecache: don't use memcache in tests 2019-02-01 19:19:36 -08:00
smartlog.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
sparse.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
sshaskpass.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
stablerev.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
stat.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
strip.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
traceprof.pyx codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
transplant.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
tweakdefaults.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
undo.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
whereami.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
win32mbcs.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
win32text.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00