Merge lp:~rvb/maas/transaction-1.7-bug-1409852 into lp:maas/1.7
Proposed by
Raphaël Badin
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Raphaël Badin | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 3335 | ||||
Proposed branch: | lp:~rvb/maas/transaction-1.7-bug-1409852 | ||||
Merge into: | lp:maas/1.7 | ||||
Diff against target: |
74 lines (+33/-1) 2 files modified
src/maasserver/api/ip_addresses.py (+0/-1) src/maasserver/api/tests/test_ipaddresses.py (+33/-0) |
||||
To merge this branch: | bzr merge lp:~rvb/maas/transaction-1.7-bug-1409852 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+246268@code.launchpad.net |
Commit message
Don't use transaction.atomic: 1.7 don't use manually configured atomic transactions.
Description of the change
The related bug is the result of a semantic conflict introduced by backporting r3391 (revision 3316 in 1.7): trunk uses transaction.atomic along with commit_
This was not detected in the tests because (mostly for performance reasons) the tests don't use a fully functional transaction environment unless you use a TransactionTestCase test.
To post a comment you must log in.
Looks good.
Something the CI could have caught if it was testing static ip allocation!