mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 14:44:21 +01:00
Updates test cleaner and removes retry_counter for responder
This commit is contained in:
@@ -45,14 +45,14 @@ def set_up_jobs(total_jobs):
|
||||
txid = urandom(32).hex()
|
||||
|
||||
# Assign both justice_txid and dispute_txid the same id (it shouldn't matter)
|
||||
jobs[uuid] = Job(txid, txid, None, None, None)
|
||||
jobs[uuid] = Job(txid, txid, None, None)
|
||||
tx_job_map[txid] = [uuid]
|
||||
|
||||
# Each justice_txid can have more than one uuid assigned to it. Do a coin toss to add multiple ones
|
||||
while random.randint(0, 1):
|
||||
uuid = uuid4().hex
|
||||
|
||||
jobs[uuid] = Job(txid, txid, None, None, None)
|
||||
jobs[uuid] = Job(txid, txid, None, None)
|
||||
tx_job_map[txid].append(uuid)
|
||||
|
||||
return jobs, tx_job_map
|
||||
|
||||
Reference in New Issue
Block a user