lp:~rvb/maas/safeguard-migrations
- Get this branch:
- bzr branch lp:~rvb/maas/safeguard-migrations
Branch merges
- Gavin Panella (community): Approve
-
Diff: 185 lines (+95/-2)5 files modifiedsrc/maasserver/tests/models.py (+2/-1)
src/maasserver/tests/test_migrations.py (+29/-0)
src/maastesting/tests/test_utils.py (+19/-1)
src/maastesting/utils.py (+15/-0)
src/metadataserver/tests/test_migrations.py (+30/-0)
Branch information
Recent revisions
- 3695. By Raphaël Badin
-
[r=allenap,
mpontillo] [bug=][ author= rvb] Regenerate migration 134: this migration has been generated without merging trunk first and thus it doesn't include some of the changes introduced by previous migrations. - 3694. By Gavin Panella
-
[r=rvb]
[bug=][ author= allenap] Allow disconnection of field changes for testing. Allowing tests to temporarily disable field changes makes testing post-commit code easier, because it avoids adding more boilerplate to neuter indirectly created post-commit tasks that are not the subject of the test.
This change also highlighted a test isolation problem, where the model change callbacks registered in one test were still present in other tests. Fortunately the problem was only in the tests; the code under test was fine.
- 3692. By Gavin Panella
-
[r=rvb]
[bug=][ author= allenap] Keep transactions short when querying node power state after a status change. Previously the transaction would be held open for as long as 30 seconds or more, causing serialisation failures in other transactions. Equally, serialisation failures in the held transaction would cause the power state to be queried multiple times as the retry logic did its thing.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~maas-committers/maas/trunk