Mercurial > hg
comparison tests/test-http-bundle1.t @ 37349:36b2a304216c
tests: disable tests for advanced clone features with simple store
There are a handful of test failures in the simple store with
regards to stream clones. Fixing them will require a lot of
conditional output. Disabling the tests wholesale is easier
at this juncture.
Differential Revision: https://phab.mercurial-scm.org/D3064
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 03 Apr 2018 15:08:14 -0700 |
parents | 02bea04b4c54 |
children | b4f5d8c68cfa |
comparison
equal
deleted
inserted
replaced
37348:f4e84dfc06fd | 37349:36b2a304216c |
---|---|
33 $ cd .. | 33 $ cd .. |
34 $ cat hg1.pid hg2.pid >> $DAEMON_PIDS | 34 $ cat hg1.pid hg2.pid >> $DAEMON_PIDS |
35 | 35 |
36 clone via stream | 36 clone via stream |
37 | 37 |
38 #if no-reposimplestore | |
38 $ hg clone --stream http://localhost:$HGPORT/ copy 2>&1 | 39 $ hg clone --stream http://localhost:$HGPORT/ copy 2>&1 |
39 streaming all changes | 40 streaming all changes |
40 6 files to transfer, 606 bytes of data | 41 6 files to transfer, 606 bytes of data |
41 transferred * bytes in * seconds (*/sec) (glob) | 42 transferred * bytes in * seconds (*/sec) (glob) |
42 searching for changes | 43 searching for changes |
47 checking changesets | 48 checking changesets |
48 checking manifests | 49 checking manifests |
49 crosschecking files in changesets and manifests | 50 crosschecking files in changesets and manifests |
50 checking files | 51 checking files |
51 4 files, 1 changesets, 4 total revisions | 52 4 files, 1 changesets, 4 total revisions |
53 #endif | |
52 | 54 |
53 try to clone via stream, should use pull instead | 55 try to clone via stream, should use pull instead |
54 | 56 |
55 $ hg clone --stream http://localhost:$HGPORT1/ copy2 | 57 $ hg clone --stream http://localhost:$HGPORT1/ copy2 |
56 warning: stream clone requested but server has them disabled | 58 warning: stream clone requested but server has them disabled |
221 5fed3813f7f5 | 223 5fed3813f7f5 |
222 $ hg id http://localhost:$HGPORT2/ | 224 $ hg id http://localhost:$HGPORT2/ |
223 5fed3813f7f5 | 225 5fed3813f7f5 |
224 $ hg id http://user@localhost:$HGPORT2/ | 226 $ hg id http://user@localhost:$HGPORT2/ |
225 5fed3813f7f5 | 227 5fed3813f7f5 |
228 | |
229 #if no-reposimplestore | |
226 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1 | 230 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1 |
227 streaming all changes | 231 streaming all changes |
228 7 files to transfer, 916 bytes of data | 232 7 files to transfer, 916 bytes of data |
229 transferred * bytes in * seconds (*/sec) (glob) | 233 transferred * bytes in * seconds (*/sec) (glob) |
230 searching for changes | 234 searching for changes |
231 no changes found | 235 no changes found |
232 updating to branch default | 236 updating to branch default |
233 5 files updated, 0 files merged, 0 files removed, 0 files unresolved | 237 5 files updated, 0 files merged, 0 files removed, 0 files unresolved |
238 #endif | |
239 | |
234 --pull should override server's preferuncompressed | 240 --pull should override server's preferuncompressed |
241 | |
235 $ hg clone --pull http://user:pass@localhost:$HGPORT2/ dest-pull 2>&1 | 242 $ hg clone --pull http://user:pass@localhost:$HGPORT2/ dest-pull 2>&1 |
236 requesting all changes | 243 requesting all changes |
237 adding changesets | 244 adding changesets |
238 adding manifests | 245 adding manifests |
239 adding file changes | 246 adding file changes |
247 [255] | 254 [255] |
248 $ hg id http://user:pass2@localhost:$HGPORT2/ | 255 $ hg id http://user:pass2@localhost:$HGPORT2/ |
249 abort: HTTP Error 403: no | 256 abort: HTTP Error 403: no |
250 [255] | 257 [255] |
251 | 258 |
252 $ hg -R dest tag -r tip top | 259 $ hg -R dest-pull tag -r tip top |
253 $ hg -R dest push http://user:pass@localhost:$HGPORT2/ | 260 $ hg -R dest-pull push http://user:pass@localhost:$HGPORT2/ |
254 pushing to http://user:***@localhost:$HGPORT2/ | 261 pushing to http://user:***@localhost:$HGPORT2/ |
255 searching for changes | 262 searching for changes |
256 remote: adding changesets | 263 remote: adding changesets |
257 remote: adding manifests | 264 remote: adding manifests |
258 remote: adding file changes | 265 remote: adding file changes |
285 "GET /?cmd=capabilities HTTP/1.1" 401 - | 292 "GET /?cmd=capabilities HTTP/1.1" 401 - |
286 "GET /?cmd=capabilities HTTP/1.1" 200 - | 293 "GET /?cmd=capabilities HTTP/1.1" 200 - |
287 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 294 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ |
288 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 295 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ |
289 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 296 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ |
290 "GET /?cmd=capabilities HTTP/1.1" 401 - | 297 "GET /?cmd=capabilities HTTP/1.1" 401 - (no-reposimplestore !) |
291 "GET /?cmd=capabilities HTTP/1.1" 200 - | 298 "GET /?cmd=capabilities HTTP/1.1" 200 - (no-reposimplestore !) |
292 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 299 "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ (no-reposimplestore !) |
293 "GET /?cmd=stream_out HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 300 "GET /?cmd=stream_out HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ (no-reposimplestore !) |
294 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 301 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ (no-reposimplestore !) |
295 "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 302 "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ (no-reposimplestore !) |
296 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 303 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ (no-reposimplestore !) |
297 "GET /?cmd=capabilities HTTP/1.1" 401 - | 304 "GET /?cmd=capabilities HTTP/1.1" 401 - (no-reposimplestore !) |
298 "GET /?cmd=capabilities HTTP/1.1" 200 - | 305 "GET /?cmd=capabilities HTTP/1.1" 200 - (no-reposimplestore !) |
299 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 306 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ (no-reposimplestore !) |
300 "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 307 "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ |
301 "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 308 "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ |
302 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ | 309 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ |
303 "GET /?cmd=capabilities HTTP/1.1" 401 - | 310 "GET /?cmd=capabilities HTTP/1.1" 401 - |
304 "GET /?cmd=capabilities HTTP/1.1" 401 - | 311 "GET /?cmd=capabilities HTTP/1.1" 401 - |