tests/test-setdiscovery.t
changeset 42159 4f9a89837f07
parent 42145 607a0de9bae3
child 42354 dbd0fcca6dfc
equal deleted inserted replaced
42158:69921d02daaf 42159:4f9a89837f07
   924     common:                   1000
   924     common:                   1000
   925     missing:                    30
   925     missing:                    30
   926   common heads: 7ead0cba2838
   926   common heads: 7ead0cba2838
   927 
   927 
   928 
   928 
   929 One with >200 heads, which used to use up all of the sample:
   929 One with >200 heads. We now switch to send them all in the initial roundtrip, but still do sampling for the later request.
   930 
   930 
   931   $ hg init manyheads
   931   $ hg init manyheads
   932   $ cd manyheads
   932   $ cd manyheads
   933   $ echo "+300:r @a" >dagdesc
   933   $ echo "+300:r @a" >dagdesc
   934   $ echo "*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3 *r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3" >>dagdesc # 20 heads
   934   $ echo "*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3 *r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3*r+3" >>dagdesc # 20 heads
   972   comparing with b
   972   comparing with b
   973   query 1; heads
   973   query 1; heads
   974   searching for changes
   974   searching for changes
   975   taking quick initial sample
   975   taking quick initial sample
   976   searching: 2 queries
   976   searching: 2 queries
   977   query 2; still undecided: 1240, sample size is: 100
   977   query 2; still undecided: 1080, sample size is: 100
   978   sampling from both directions
   978   sampling from both directions
   979   searching: 3 queries
   979   searching: 3 queries
   980   query 3; still undecided: 1140, sample size is: 200
   980   query 3; still undecided: 980, sample size is: 200
   981   sampling from both directions
   981   sampling from both directions
   982   searching: 4 queries
   982   searching: 4 queries
   983   query 4; still undecided: \d+, sample size is: 200 (re)
   983   query 4; still undecided: \d+, sample size is: 200 (re)
   984   sampling from both directions
   984   sampling from both directions
   985   searching: 5 queries
   985   searching: 5 queries
   986   query 5; still undecided: \d+, sample size is: 200 (re)
   986   query 5; still undecided: 195, sample size is: 195
   987   sampling from both directions
   987   5 total queries in *.????s (glob)
   988   searching: 6 queries
       
   989   query 6; still undecided: \d+, sample size is: \d+ (re)
       
   990   6 total queries in *.????s (glob)
       
   991   elapsed time:  * seconds (glob)
   988   elapsed time:  * seconds (glob)
   992   heads summary:
   989   heads summary:
   993     total common heads:          1
   990     total common heads:          1
   994       also local heads:          0
   991       also local heads:          0
   995       also remote heads:         0
   992       also remote heads:         0
  1114   searching for changes
  1111   searching for changes
  1115   101 102 103 104 105 106 107 108 109 110  (no-eol)
  1112   101 102 103 104 105 106 107 108 109 110  (no-eol)
  1116   $ hg -R r1 --config extensions.blackbox= blackbox --config blackbox.track=
  1113   $ hg -R r1 --config extensions.blackbox= blackbox --config blackbox.track=
  1117   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> serve --cmdserver chgunix * (glob) (chg !)
  1114   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> serve --cmdserver chgunix * (glob) (chg !)
  1118   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* (glob)
  1115   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* (glob)
  1119   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> found 101 common and 1 unknown server heads, 2 roundtrips in *.????s (glob)
  1116   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> found 101 common and 1 unknown server heads, 1 roundtrips in *.????s (glob)
  1120   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* exited 0 after *.?? seconds (glob)
  1117   * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* exited 0 after *.?? seconds (glob)
  1121   $ cd ..
  1118   $ cd ..