Always commit after deployment db operations

This should eliminate a potential race where a depolyment
create doesn't get commited before another engine calls
SoftwareConfigService._refresh_software_deployment

This change also adds a functional test which creates
4 parallel deployments to a server and assert that all 4 end
up in the server metadata.

Change-Id: Iab26aa10bddf3ea569e3ed83a973bcf968964b62
Related-Bug: #1477329
1 file changed
tree: 59ba36ea8c9650c9668ad1112cf7dba792f8335f
  1. common/
  2. functional/
  3. scenario/