Dan Kenigsberg has submitted this change and it was merged.
Change subject: functional tests: Wait till backend server of storage connection reference is connected ......................................................................
functional tests: Wait till backend server of storage connection reference is connected
Storage connection reference performs the actual connecting in asynchronous manner, so add a retryAssert on the storage connection status to wait it gets connected. Otherwise the creation of storage domain will fail if the backend connection in VDSM is not ready.
Extract a super class for backend servers in functional test, the waiting for the ready of the connection is put in the super class, because this waiting can be useful to iscsi and glusterfs testing.
Change-Id: I466b8e8cbfe6e1b04f8ad902f54fa1177b746feb Signed-off-by: Zhou Zheng Sheng zhshzhou@linux.vnet.ibm.com --- M tests/functional/xmlrpcTests.py 1 file changed, 47 insertions(+), 25 deletions(-)
Approvals: Ayal Baron: Looks good to me, approved Dan Kenigsberg: Deepak C Shetty: Looks good to me, but someone else must approve Zhou Zheng Sheng: Verified
-- To view, visit http://gerrit.ovirt.org/10352 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged Gerrit-Change-Id: I466b8e8cbfe6e1b04f8ad902f54fa1177b746feb Gerrit-PatchSet: 2 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Zhou Zheng Sheng zhshzhou@linux.vnet.ibm.com Gerrit-Reviewer: Ayal Baron abaron@redhat.com Gerrit-Reviewer: Dan Kenigsberg danken@redhat.com Gerrit-Reviewer: Deepak C Shetty deepakcs@linux.vnet.ibm.com Gerrit-Reviewer: Saggi Mizrahi smizrahi@redhat.com Gerrit-Reviewer: Zhou Zheng Sheng zhshzhou@linux.vnet.ibm.com Gerrit-Reviewer: oVirt Jenkins CI Server