Rev 3470: Split test to achieve better defect localization :) in file:///v/home/vila/src/bzr/cleanup/http/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Wed Jun 4 15:33:44 BST 2008
At file:///v/home/vila/src/bzr/cleanup/http/
------------------------------------------------------------
revno: 3470
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
-------------- next part --------------
=== 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