datbases: wait 1.5 second assign user to db after create
This commit is contained in:
parent
e1d250c35f
commit
8cd3605d48
|
@ -29,6 +29,9 @@ class MySQLController(ServiceController):
|
|||
# Create database and re-set permissions
|
||||
mysql -e 'CREATE DATABASE `%(database)s`;' || true
|
||||
mysql mysql -e 'DELETE FROM db WHERE db = "%(database)s";'\
|
||||
|
||||
# wait to create user
|
||||
sleep 1.5
|
||||
""") % context
|
||||
)
|
||||
for user in database.users.all():
|
||||
|
|
Loading…
Reference in a new issue