Pass datastore details when required (again)

This is another set of fixes to integration tests, as the datastore is not
inherited by the parent job when a backup or a replica is created.

See also:
- Ib3e78bb68aaf992177b9d9cd1d89e84fb54830ed
- Ice626b3d3f73e75222b1080afa58232e03459a8e

Also, fix the fake guestagent so that it works with the increased
timing coming from the fixed (now working) tests.

Change-Id: I8d2b5a4627eb9292ba4535696f9565a3c20a0783
This commit is contained in:
Luigi Toscano
2016-02-23 17:21:10 +01:00
parent 1035f4ce7d
commit 5515c5291c
4 changed files with 7 additions and 1 deletions

View File

@@ -68,6 +68,8 @@ class ReplicationRunner(TestRunner):
self.instance_info.name + replica_name,
self.instance_info.dbaas_flavor_href,
self.instance_info.volume, replica_of=master_id,
datastore=self.instance_info.dbaas_datastore,
datastore_version=self.instance_info.dbaas_datastore_version,
nics=self.instance_info.nics,
replica_count=replica_count)
replica_id = replica.id