Skip to content

Commit

Permalink
Merge 3137020 into 3a493b0
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuchemb committed Aug 19, 2020
2 parents 3a493b0 + 3137020 commit 25777c5
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 25777c5

Please sign in to comment.