diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-06-13 17:25:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-06-13 17:25:07 +0000 |
commit | 1ef7fd44523182a8b8ddcc97433fff55ba17fce8 (patch) | |
tree | 42ae52896b3217fbd18d201df5bd7c743e613fee | |
parent | da3c805f8829f67d4d4154cd24f322ccf516b450 (diff) | |
parent | 34ba453f1924f0d3ccd54d38db82fe008ab40442 (diff) |
Merge "Abort vping_userdata test if IP address is missing"
-rw-r--r-- | functest/opnfv_tests/openstack/vping/vping_userdata.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_userdata.py b/functest/opnfv_tests/openstack/vping/vping_userdata.py index 056598d71..4f9f635c3 100644 --- a/functest/opnfv_tests/openstack/vping/vping_userdata.py +++ b/functest/opnfv_tests/openstack/vping/vping_userdata.py @@ -64,6 +64,10 @@ class VPingUserdata(vping_base.VPingBase): """ Override from super """ + if not self.vm1.private_v4: + self.logger.error("vm1: IP addr missing") + return testcase.TestCase.EX_TESTCASE_FAILED + self.logger.info("Waiting for ping...") exit_code = testcase.TestCase.EX_TESTCASE_FAILED sec = 0 |