diff options
author | Boris Pavlovic <boris@pavlovic.me> | 2012-12-23 07:03:55 +0400 |
---|---|---|
committer | Boris Pavlovic <boris@pavlovic.me> | 2012-12-28 22:39:02 +0400 |
commit | e313c7dda326d8e6cb5b0e2ac77f53becc037a16 (patch) | |
tree | 7be2d9b554b51a733b4248a8d4632ea43293b820 /nova/utils.py | |
parent | 8a1843a91a98cf5b945ed97adb82c2f820438949 (diff) | |
download | nova-e313c7dda326d8e6cb5b0e2ac77f53becc037a16.tar.gz nova-e313c7dda326d8e6cb5b0e2ac77f53becc037a16.tar.xz nova-e313c7dda326d8e6cb5b0e2ac77f53becc037a16.zip |
Fix bug and remove update lock in db.instance_test_and_set()
Remove session from arguments.
Instance update works through one query, so we don't need to use update lock.
Add tests for instance_test_and_set().
blueprint db-session-cleanup
Change-Id: I143877f427f5eba4a7c7aa985bb70c79a9513822
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions