##// END OF EJS Templates
remotefilelog: remove most sleep in tests...
marmoute -
r44300:fac25de8 stable
parent child Browse files
Show More
@@ -79,7 +79,6 b''
79 79 new changesets 6b4b6f66ef8c
80 80 (run 'hg update' to get a working copy)
81 81 prefetching file contents
82 $ sleep 0.5
83 82 $ hg debugwaitonprefetch >/dev/null 2>%1
84 83 $ find $CACHEDIR -type f | sort
85 84 $TESTTMP/hgcache/master/11/f6ad8ec52a2984abaafd7c3b516503785c2072/ef95c5376f34698742fe34f315fd82136f8f68c0
@@ -108,11 +107,8 b''
108 107 new changesets 6b4b6f66ef8c
109 108 (run 'hg update' to get a working copy)
110 109 prefetching file contents
111 $ sleep 0.5
112 110 $ hg debugwaitonprefetch >/dev/null 2>%1
113 $ sleep 0.5
114 111 $ hg debugwaitonrepack >/dev/null 2>%1
115 $ sleep 0.5
116 112 $ find $CACHEDIR -type f | sort
117 113 $TESTTMP/hgcache/master/packs/6e8633deba6e544e5f8edbd7b996d6e31a2c42ae.histidx
118 114 $TESTTMP/hgcache/master/packs/6e8633deba6e544e5f8edbd7b996d6e31a2c42ae.histpack
@@ -144,11 +140,8 b''
144 140 $ hg up -r 0
145 141 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
146 142 * files fetched over * fetches - (* misses, 0.00% hit ratio) over *s (glob)
147 $ sleep 1
148 143 $ hg debugwaitonprefetch >/dev/null 2>%1
149 $ sleep 1
150 144 $ hg debugwaitonrepack >/dev/null 2>%1
151 $ sleep 1
152 145 $ find $CACHEDIR -type f | sort
153 146 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
154 147 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
@@ -196,11 +189,8 b''
196 189 $ hg commit -qAm b
197 190 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob)
198 191 $ hg bookmark temporary
199 $ sleep 1
200 192 $ hg debugwaitonprefetch >/dev/null 2>%1
201 $ sleep 1
202 193 $ hg debugwaitonrepack >/dev/null 2>%1
203 $ sleep 1
204 194 $ find $CACHEDIR -type f | sort
205 195 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
206 196 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
@@ -246,11 +236,8 b''
246 236 rebasing 3:58147a5b5242 "b" (temporary tip)
247 237 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/58147a5b5242-c3678817-rebase.hg
248 238 3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over *s (glob)
249 $ sleep 1
250 239 $ hg debugwaitonprefetch >/dev/null 2>%1
251 $ sleep 1
252 240 $ hg debugwaitonrepack >/dev/null 2>%1
253 $ sleep 1
254 241
255 242 # Ensure that file 'y' was prefetched - it was not part of the rebase operation and therefore
256 243 # could only be downloaded by the background prefetch
@@ -290,9 +277,7 b''
290 277 (running background incremental repack)
291 278 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?)
292 279
293 $ sleep 0.5
294 280 $ hg debugwaitonrepack >/dev/null 2>%1
295 $ sleep 0.5
296 281
297 282 $ find $CACHEDIR -type f | sort
298 283 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
@@ -334,9 +319,7 b''
334 319 got lock after * seconds (glob) (?)
335 320 (running background incremental repack)
336 321 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?)
337 $ sleep 0.5
338 322 $ hg debugwaitonrepack >/dev/null 2>%1
339 $ sleep 0.5
340 323
341 324 $ find $CACHEDIR -type f | sort
342 325 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
@@ -40,7 +40,6 b''
40 40 $ hg prefetch
41 41 2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
42 42 $ hg repack
43 $ sleep 0.5
44 43 $ hg debugwaitonrepack >/dev/null 2>%1
45 44
46 45 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
@@ -73,7 +72,6 b''
73 72 > EOF
74 73
75 74 $ hg repack
76 $ sleep 0.5
77 75 $ hg debugwaitonrepack >/dev/null 2>%1
78 76
79 77 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
@@ -101,7 +99,6 b''
101 99 $ hg prefetch
102 100 2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
103 101 $ hg repack
104 $ sleep 0.5
105 102 $ hg debugwaitonrepack >/dev/null 2>%1
106 103
107 104 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
@@ -135,7 +132,6 b''
135 132 > EOF
136 133
137 134 $ hg repack
138 $ sleep 0.5
139 135 $ hg debugwaitonrepack >/dev/null 2>%1
140 136
141 137 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
@@ -143,7 +143,6 b''
143 143
144 144 $ hg repack --background
145 145 (running background repack)
146 $ sleep 0.5
147 146 $ hg debugwaitonrepack >/dev/null 2>&1
148 147 $ find $CACHEDIR -type f | sort
149 148 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.dataidx
@@ -343,7 +342,6 b' Pull should run background repack'
343 342 searching for changes
344 343 no changes found
345 344 (running background incremental repack)
346 $ sleep 0.5
347 345 $ hg debugwaitonrepack >/dev/null 2>&1
348 346 $ ls_l $TESTTMP/hgcache/master/packs/ | grep datapack
349 347 -r--r--r-- 303 156a6c1c83aeb69422d7936e0a46ba9bc06a71c0.datapack
@@ -153,7 +153,6 b''
153 153
154 154 $ hg repack --background
155 155 (running background repack)
156 $ sleep 0.5
157 156 $ hg debugwaitonrepack >/dev/null 2>&1
158 157 $ find $CACHEDIR -type f | sort
159 158 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.dataidx
@@ -372,7 +371,6 b' Pull should run background repack'
372 371 searching for changes
373 372 no changes found
374 373 (running background incremental repack)
375 $ sleep 0.5
376 374 $ hg debugwaitonrepack >/dev/null 2>&1
377 375 $ ls_l $TESTTMP/hgcache/master/packs/ | grep datapack
378 376 -r--r--r-- 303 156a6c1c83aeb69422d7936e0a46ba9bc06a71c0.datapack
General Comments 0
You need to be logged in to leave comments. Login now