• Julien Muchembled's avatar
    qa: rewrite testReplicationBlockedByUnfinished as a threaded test · d3cb8888
    Julien Muchembled authored
    It is extended to check that the storage is only notified about the
    transactions that existed at the time it asked for them. Otherwise,
    Replicator.transactionFinished would be called more than once, and
    `self.ttid_set.remove(ttid)` would raise KeyError.
    
    The functional version also contained an annoying 'sleep(10)'.
    d3cb8888
testReplication.py 28 KB