Skip to content

Commit

Permalink
Merge a432d92 into 8303cf2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuchemb committed Jun 12, 2020
2 parents 8303cf2 + a432d92 commit d8068bc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/ZODB/tests/BasicStorage.py
Expand Up @@ -347,17 +347,13 @@ def update_attempts():
attempts_cond.notifyAll()


@run_in_thread
def lastTransaction():
update_attempts()
results['lastTransaction'] = self._storage.lastTransaction()

@run_in_thread
def load():
update_attempts()
results['load'] = utils.load_current(self._storage, ZERO)[1]
results['lastTransaction'] = self._storage.lastTransaction()

expected_attempts = 2
expected_attempts = 1

if hasattr(self._storage, 'getTid'):
expected_attempts += 1
Expand Down

0 comments on commit d8068bc

Please sign in to comment.