Ubuntu Pastebin

Paste from Marco Ceppi at Fri, 24 Jun 2016 18:45:18 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/tests/010-configs b/tests/010-configs
index d8ba7de..583b5f0 100755
--- a/tests/010-configs
+++ b/tests/010-configs
@@ -13,7 +13,6 @@ max_connections = 10
 d = amulet.Deployment(series='trusty')
 
 d.add('mysql')
-d.configure('mysql', {'max-connections': max_connections})
 d.expose('mysql')
 
 try:
@@ -24,6 +23,9 @@ except amulet.helpers.TimeoutError:
 except:
     raise
 
+d.configure('mysql', {'max-connections': max_connections})
+d.sentry.wait()
+
 
 # Allow connections from outside
 mysqlmaster = d.sentry['mysql'][0]
Download as text