From 251655730cd037a9bd5dbbb42ba07cb64bacde88 Mon Sep 17 00:00:00 2001 From: Tomas Cechvala Date: Tue, 7 Mar 2017 12:03:11 +0100 Subject: Improving robot smoke test Suite setup modified: - flavor is checked and created if it does not exist - image is checked and created if it does not exist Change-Id: I0254827034fcb2e1a7f5f0983b5a5bad29eada43 Signed-off-by: Tomas Cechvala --- testing/robot/data/test_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/robot/data') diff --git a/testing/robot/data/test_data.py b/testing/robot/data/test_data.py index d78ce4f..2011257 100644 --- a/testing/robot/data/test_data.py +++ b/testing/robot/data/test_data.py @@ -20,7 +20,7 @@ port1_name = 'fds_smoke_port1_' + run_uuid port2_name = 'fds_smoke_port2_' + run_uuid subnet_cidr = '192.168.10.0/24' vm_flavor = 'm1.small' -vm_image = 'cirros-0.3.3' +vm_image = 'cirros-0.3.4' userdata1 = "#!/bin/sh\n\nsudo ip a add {}/24 dev eth0\n".format(vm1_address) userdata2 = "#!/bin/sh\n\nsudo ip a add {}/24 dev eth0\nwhile true; do\n ping -c 1 {} 2>&1 >/dev/null\n " \ "RES=$?\n if [ \"Z$RES\" = \"Z0\" ] ; then\n echo 'ping PASSED'\n break\n else\n echo " \ -- cgit 1.2.3-korg