summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test_trove_upgrades.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test_trove_upgrades.py b/test_trove_upgrades.py
index 61af7c9..a3d0882 100644
--- a/test_trove_upgrades.py
+++ b/test_trove_upgrades.py
@@ -563,8 +563,21 @@ class TestUpgrades(BaseTestSuite):
self.wait_for_machine_to_boot(instance)
new_lighttpd_output = remote_runcmd(test_url, ['lighttpd', '-v'])
+
+ try:
+ remote_runcmd(test_url,
+ ['snapshot-mgr', 'set-default', 'factory'])
+ remote_runcmd(test_url, ['reboot'])
+ except cliapp.AppException:
+ # Same hack as above.
+ pass
+
+ self.wait_for_machine_to_boot(instance)
+ rollback_lighttpd_output = remote_runcmd(test_url, ['lighttpd', '-v'])
+
print "OLD Lighttpd outout: %s" % old_lighttpd_output
print "NEW Lighttpd outout: %s" % new_lighttpd_output
+ print "RBK Lighttpd output: %s" % rollback_lighttpd_output
# We have a machine!
# Initial tests to run: