From ea103cab1d632419a92940104209735c9d7f029f Mon Sep 17 00:00:00 2001 From: TerryHowe Date: Fri, 12 Jun 2015 10:49:03 -0600 Subject: [PATCH] Add functional tests server reboot Change-Id: I1699ac826519ccc177159423c7b6727ffaf4abff --- functional/tests/compute/v2/test_server.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functional/tests/compute/v2/test_server.py b/functional/tests/compute/v2/test_server.py index dd2d923b19..f38115800a 100644 --- a/functional/tests/compute/v2/test_server.py +++ b/functional/tests/compute/v2/test_server.py @@ -130,7 +130,6 @@ class ServerTests(test.TestCase): self.assertNotEqual("", ip) raw_output = self.openstack('ip floating add ' + ip + ' ' + self.NAME) self.assertEqual("", raw_output) - opts = self.get_show_opts(["addresses"]) raw_output = self.openstack('server show ' + self.NAME) self.assertIn(ip, raw_output) # detach ip @@ -141,3 +140,7 @@ class ServerTests(test.TestCase): self.assertNotIn(ip, raw_output) raw_output = self.openstack('ip floating delete ' + ipid) self.assertEqual("", raw_output) + # reboot + raw_output = self.openstack('server reboot ' + self.NAME) + self.assertEqual("", raw_output) + self.wait_for("ACTIVE")