Rev 3471: (vila) Split a test in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Wed Jun 4 20:20:06 BST 2008
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 3471
revision-id:pqm at pqm.ubuntu.com-20080604192001-6k9g6cztr5beg1k5
parent: pqm at pqm.ubuntu.com-20080604174215-d0m8mjs939ek9ed7
parent: v.ladeuil+lp at free.fr-20080604185556-zeoa36rbx9fdsfkt
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2008-06-04 20:20:01 +0100
message:
(vila) Split a test
modified:
bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
------------------------------------------------------------
revno: 3470.1.1
revision-id:v.ladeuil+lp at free.fr-20080604185556-zeoa36rbx9fdsfkt
parent: pqm at pqm.ubuntu.com-20080604174215-d0m8mjs939ek9ed7
parent: v.ladeuil+lp at free.fr-20080604143340-qu0b2q7pggd02wyr
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: trunk
timestamp: Wed 2008-06-04 20:55:56 +0200
message:
(vila) Split a test
modified:
bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
------------------------------------------------------------
revno: 3469.1.1
revision-id:v.ladeuil+lp at free.fr-20080604143340-qu0b2q7pggd02wyr
parent: pqm at pqm.ubuntu.com-20080604075316-2zq1pdapom9r80zr
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: http
timestamp: Wed 2008-06-04 16:33:40 +0200
message:
Split test to achieve better defect localization :)
* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_readv_with_adjust_for_latency_with_big_file):
Splitted out from test_readv_with_adjust_for_latency. The test was
triggering an aliasing bug in lighttpd by querying a file modified
on the local file system (that may well have been caused by using
NFS, but that's not the problem :).
modified:
bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
=== modified file 'bzrlib/tests/test_transport_implementations.py'
--- a/bzrlib/tests/test_transport_implementations.py 2008-04-28 08:57:45 +0000
+++ b/bzrlib/tests/test_transport_implementations.py 2008-06-04 14:33:40 +0000
@@ -1597,6 +1597,9 @@
self.assertTrue(result[0][0] <= 400)
self.assertTrue(result[0][0] + data_len >= 1034)
check_result_data(result)
+
+ def test_readv_with_adjust_for_latency_with_big_file(self):
+ transport = self.get_transport()
# test from observed failure case.
if transport.is_readonly():
file('a', 'w').write('a'*1024*1024)
More information about the bazaar-commits
mailing list