Mercurial > hg
comparison tests/test-setdiscovery.t @ 28791:277b4e6938fa
pypy: fix setdiscovery test
This test relies on the exact details of random.sample given the
seed. Things work a bit differently under pypy, make the test less
specific.
author | Maciej Fijalkowski <fijall@gmail.com> |
---|---|
date | Tue, 05 Apr 2016 14:44:18 +0300 |
parents | 29cfc474c5fd |
children | a520aefb96f1 |
comparison
equal
deleted
inserted
replaced
28790:b0cc9652e8dc | 28791:277b4e6938fa |
---|---|
315 sampling from both directions | 315 sampling from both directions |
316 searching: 3 queries | 316 searching: 3 queries |
317 query 3; still undecided: 1140, sample size is: 200 | 317 query 3; still undecided: 1140, sample size is: 200 |
318 sampling from both directions | 318 sampling from both directions |
319 searching: 4 queries | 319 searching: 4 queries |
320 query 4; still undecided: 592, sample size is: 200 | 320 query 4; still undecided: \d+, sample size is: 200 (re) |
321 sampling from both directions | 321 sampling from both directions |
322 searching: 5 queries | 322 searching: 5 queries |
323 query 5; still undecided: 292, sample size is: 200 | 323 query 5; still undecided: \d+, sample size is: 200 (re) |
324 sampling from both directions | 324 sampling from both directions |
325 searching: 6 queries | 325 searching: 6 queries |
326 query 6; still undecided: 51, sample size is: 51 | 326 query 6; still undecided: \d+, sample size is: \d+ (re) |
327 6 total queries | 327 6 total queries |
328 common heads: 3ee37d65064a | 328 common heads: 3ee37d65064a |
329 | 329 |
330 Test actual protocol when pulling one new head in addition to common heads | 330 Test actual protocol when pulling one new head in addition to common heads |
331 | 331 |