summaryrefslogtreecommitdiffstats
path: root/testing/robot/data
diff options
context:
space:
mode:
authorTomas Cechvala <tcechval@cisco.com>2017-03-07 12:03:11 +0100
committerTomas Cechvala <tcechval@cisco.com>2017-03-07 16:52:33 +0100
commit251655730cd037a9bd5dbbb42ba07cb64bacde88 (patch)
treea35985a089c026f97e0385d88f741466e7a257f0 /testing/robot/data
parent27f4d1c945814b2dc127c06ec35feeed4d9d432a (diff)
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 <tcechval@cisco.com>
Diffstat (limited to 'testing/robot/data')
-rw-r--r--testing/robot/data/test_data.py2
1 files changed, 1 insertions, 1 deletions
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 " \