~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

Merge bzr.dev 4187, and revert the change to fix refcycle issues.

I apparently didn't run the smart fetch tests. Which show that we access inv+chk pages
as a fulltext, and then insert the stream, which expects to get the block as a compressed
block. :(.
Need to rethink how to do it, possibly with weakrefs.


This also brings in CommitBuilder.record_iter_changes() and the updates to btree_index
and backing indices.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    to_adapt, result = split_suite_by_condition(
69
69
        standard_tests, condition_isinstance(BasicRemoteObjectTests))
70
70
    smart_server_version_scenarios = [
71
 
        ('HPSS-v2', 
 
71
        ('HPSS-v2',
72
72
            {'transport_server': server.SmartTCPServer_for_testing_v2_only}),
73
 
        ('HPSS-v3', 
 
73
        ('HPSS-v3',
74
74
            {'transport_server': server.SmartTCPServer_for_testing})]
75
75
    return multiply_tests(to_adapt, smart_server_version_scenarios, result)
76
76