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]