Mercurial > hg
comparison tests/test-remotefilelog-bgprefetch.t @ 41810:00c909de1143
test: follow-up on 1c4d6ab2ecb8, stabilize test-remotefilelog-bgprefetch.t
In 1c4d6ab2ecb8, I've added some sleeps after about half of the calls to `hg
debugwaitonrepack` but it seems the other calls are also flaky as catched by
our CI: https://ci.octobus.net/job/MercurialPy2/299/console. Add sleeps after
all calls in order to be safe.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 25 Feb 2019 09:02:29 +0100 |
parents | 1c4d6ab2ecb8 |
children | 2c74337e6483 |
comparison
equal
deleted
inserted
replaced
41809:e0a3ee3fdb33 | 41810:00c909de1143 |
---|---|
140 * files fetched over * fetches - (* misses, 0.00% hit ratio) over *s (glob) | 140 * files fetched over * fetches - (* misses, 0.00% hit ratio) over *s (glob) |
141 $ sleep 1 | 141 $ sleep 1 |
142 $ hg debugwaitonprefetch >/dev/null 2>%1 | 142 $ hg debugwaitonprefetch >/dev/null 2>%1 |
143 $ sleep 1 | 143 $ sleep 1 |
144 $ hg debugwaitonrepack >/dev/null 2>%1 | 144 $ hg debugwaitonrepack >/dev/null 2>%1 |
145 $ sleep 1 | |
145 $ find $CACHEDIR -type f | sort | 146 $ find $CACHEDIR -type f | sort |
146 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx | 147 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx |
147 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack | 148 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack |
148 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.dataidx | 149 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.dataidx |
149 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.datapack | 150 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.datapack |
285 (running background incremental repack) | 286 (running background incremental repack) |
286 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?) | 287 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?) |
287 | 288 |
288 $ sleep 0.5 | 289 $ sleep 0.5 |
289 $ hg debugwaitonrepack >/dev/null 2>%1 | 290 $ hg debugwaitonrepack >/dev/null 2>%1 |
291 $ sleep 0.5 | |
290 | 292 |
291 $ find $CACHEDIR -type f | sort | 293 $ find $CACHEDIR -type f | sort |
292 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx | 294 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx |
293 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack | 295 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack |
294 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.dataidx | 296 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.dataidx |
329 got lock after * seconds (glob) (?) | 331 got lock after * seconds (glob) (?) |
330 (running background incremental repack) | 332 (running background incremental repack) |
331 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?) | 333 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?) |
332 $ sleep 0.5 | 334 $ sleep 0.5 |
333 $ hg debugwaitonrepack >/dev/null 2>%1 | 335 $ hg debugwaitonrepack >/dev/null 2>%1 |
336 $ sleep 0.5 | |
334 | 337 |
335 $ find $CACHEDIR -type f | sort | 338 $ find $CACHEDIR -type f | sort |
336 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx | 339 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx |
337 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack | 340 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack |
338 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.dataidx | 341 $TESTTMP/hgcache/master/packs/f4d50848e0b465e9bfd2875f213044c06cfd7407.dataidx |