Move service and cluster creation in test to utils
In this patch we move service and cluster creation methods from the
tests to the test utils file so they can be easily reused by other tests
that need to create them.
This change is required by the patch that fixes the replication freeze
mechanism but wasn't included in that patch to facilitate the review by
splitting the 2 different concepts: moving these convenience methods to
test utils and fixing the freeze mechanism.
Reviewed: https:/ /review. openstack. org/402922 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=73603d52481 4d5e417dad4c40d 3667b703c58105
Committed: https:/
Submitter: Jenkins
Branch: master
commit 73603d524814d5e 417dad4c40d3667 b703c58105
Author: Gorka Eguileor <email address hidden>
Date: Fri Nov 25 14:26:23 2016 +0100
Move service and cluster creation in test to utils
In this patch we move service and cluster creation methods from the
tests to the test utils file so they can be easily reused by other tests
that need to create them.
This change is required by the patch that fixes the replication freeze
mechanism but wasn't included in that patch to facilitate the review by
splitting the 2 different concepts: moving these convenience methods to
test utils and fixing the freeze mechanism.
Related-Bug: #1616974 f72a5c1af61f4f5 7b3b4683157
Change-Id: I7d8552f38e9495