diff tests/test-discovery-obshashrange.t @ 6337:58115cf37211 stable

evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246) It will fall back to memory db when there are problems opening the persistent cache file.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 01 Dec 2022 16:29:56 +0400
parents dbedbcf30f6b
children a55b9b917a08
line wrap: on
line diff
--- a/tests/test-discovery-obshashrange.t	Sat Nov 19 17:28:10 2022 +0100
+++ b/tests/test-discovery-obshashrange.t	Thu Dec 01 16:29:56 2022 +0400
@@ -198,6 +198,7 @@
   received listkey for "namespaces": 40 bytes
   OBSEXC: computing relevant nodes
   OBSEXC: looking for common markers in 6 nodes
+  stable-range cache: unable to load, regenerating
   query 0; add more sample (target 100, current 1)
   query 0; sample size is 9, largest range 5
   sending evoext_obshashrange_v1 command
@@ -322,6 +323,7 @@
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> preparing listkeys for "namespaces" (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "namespaces": 40 bytes (glob)
+  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> stable-range cache: unable to load, regenerating (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-depthcache in *.???? seconds (6r) (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (6r) (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (6r, 4o) (glob)
@@ -1113,6 +1115,7 @@
   $ ls -1 .hg/cache/ | grep evoext
   [1]
   $ hg debugupdatecache --debug
+  stable-range cache: unable to load, regenerating
   updating the branch cache
   $ f -s .hg/cache/evoext*
   .hg/cache/evoext-depthcache-00: size=96