[Bug 5089] New: test-clone-uncompressed.t fails with pure python hg
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Feb 8 11:25:16 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5089
Bug ID: 5089
Summary: test-clone-uncompressed.t fails with pure python hg
Product: Mercurial
Version: 3.7.1
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: foozy at lares.dti.ne.jp
CC: mercurial-devel at selenic.com
"run-test.py --pure" with Python 2.6.6 causes failure below:
--- XXXX/tests/test-clone-uncompressed.t
+++ XXXX/tests/test-clone-uncompressed.t.err
@@ -16,8 +16,8 @@
$ hg clone --uncompressed -U http://localhost:$HGPORT clone1
streaming all changes
- 1027 files to transfer, 96.3 KB of data
- transferred 96.3 KB in * seconds (*/sec) (glob)
+ 1027 files to transfer, 97.4 KB of data
+ transferred 97.4 KB in 0.4 seconds (232 KB/sec)
searching for changes
no changes found
@@ -29,9 +29,9 @@
sending branchmap command
streaming all changes
sending stream_out command
- 1027 files to transfer, 96.3 KB of data
+ 1027 files to transfer, 97.4 KB of data
starting 4 threads for background file closing
- transferred 96.3 KB in * seconds (*/sec) (glob)
+ transferred 97.4 KB in 0.8 seconds (118 KB/sec)
query 1; heads
sending batch command
searching for changes
ERROR: test-clone-uncompressed.t output changed
Is this reasonable difference between C and pure Python
implementation ?
FYI, there are few tests, which transfer over 1KB of data. One in
test-bundle.t is displayed at "hg debugapplystreamclonebundle".
grep -n '.* files to transfer, .* of data' *.t
test-bundle.t:314: 6 files to transfer, 2.60 KB of data
test-clone-uncompressed.t:19: 1027 files to transfer, 96.3 KB of data
test-clone-uncompressed.t:32: 1027 files to transfer, 96.3 KB of data
test-clonebundles.t:293: 4 files to transfer, 613 bytes of data
test-clonebundles.t:307: 4 files to transfer, 613 bytes of data
test-clonebundles.t:321: 4 files to transfer, 613 bytes of data
test-http-bundle1.t:45: 6 files to transfer, 606 bytes of data
test-http-bundle1.t:204: 7 files to transfer, 916 bytes of data
test-http-proxy.t:25: 3 files to transfer, 303 bytes of data
test-http.t:36: 6 files to transfer, 606 bytes of data
test-http.t:195: 7 files to transfer, 916 bytes of data
test-ssh-bundle1.t:63: 4 files to transfer, 615 bytes of data
test-ssh-bundle1.t:85: 4 files to transfer, 615 bytes of data
test-ssh.t:57: 4 files to transfer, 615 bytes of data
test-ssh.t:79: 4 files to transfer, 615 bytes of data
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list