rename the function where it is defined as well as where it is called

This commit is contained in:
Alec Grieser 2019-03-22 13:26:41 -04:00
parent 9e15872418
commit 5e8e2ef2a6
No known key found for this signature in database
GPG Key ID: CAF63551C60D3462

View File

@ -416,7 +416,7 @@ def test_timeouts(db):
def test_combinations(db):
# (1) Cancellation does survive on_error() even when retry limit is hit
@retry_with_timeout(default_timeout)
def txn2(tr):
def txn1(tr):
tr.options.set_retry_limit(0)
tr.cancel()
try: