Merge lp:~allenap/maas/unreliable-test--bug-1308069--1.5 into lp:maas/1.5

Proposed by Gavin Panella
Status: Merged
Approved by: Gavin Panella
Approved revision: no longer in the source branch.
Merged at revision: 2253
Proposed branch: lp:~allenap/maas/unreliable-test--bug-1308069--1.5
Merge into: lp:maas/1.5
Diff against target: 19 lines (+0/-2)
1 file modified
src/maasserver/rpc/tests/test_regionservice.py (+0/-2)
To merge this branch: bzr merge lp:~allenap/maas/unreliable-test--bug-1308069--1.5
Reviewer Review Type Date Requested Status
Gavin Panella (community) Approve
Review via email: mp+215959@code.launchpad.net

Commit message

Backport lp:maas r2271: Reenable test_prepare_holds_startup_lock.

Reproducing the spurious failure was not possible. Reintroducing it to the test suite will again expose it to a more varied environment, with the hope that we learn how to reproduce it should it happen again.

To post a comment you must log in.
Revision history for this message
Gavin Panella (allenap) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/maasserver/rpc/tests/test_regionservice.py'
2--- src/maasserver/rpc/tests/test_regionservice.py 2014-04-15 15:40:07 +0000
3+++ src/maasserver/rpc/tests/test_regionservice.py 2014-04-15 21:09:55 +0000
4@@ -82,7 +82,6 @@
5 from twisted.internet.threads import deferToThread
6 from twisted.protocols import amp
7 from twisted.python import log
8-from unittest import skip
9
10
11 class TestRegionProtocol_Identify(MAASTestCase):
12@@ -642,7 +641,6 @@
13 cursor.execute("SELECT * FROM eventloops")
14 self.assertEqual([], list(cursor))
15
16- @skip("XXX gmb 2014-04-15 bug=1308069: Fails spuriously.")
17 def test_prepare_holds_startup_lock(self):
18 # Creating tables in PostgreSQL is a transactional operation
19 # like any other. If the isolation level is not sufficient - the

Subscribers

People subscribed via source and target branches

to all changes: