This is a stopgap to test unattended installs.
We will write a new seprate test for unattended installs
---
client/tests/kvm/kvm_tests.py | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_tests.py b/client/tests/kvm/kvm_tests.py
index 54d2a7a..29901f3 100644
--- a/client/tests/kvm/kvm_tests.py
+++ b/client/tests/kvm/kvm_tests.py
@@ -29,7 +29,18 @@ def run_boot(test, params, env):
logging.info("Waiting for guest to be up...")
- session = kvm_utils.wait_for(vm.ssh_login, 240, 0, 2)
+ first = 0
+ timeout = 240
+ message = ""
+
+ # todo we will break out this in to new test type unattended test however
for
+ # development purposes quick and dirty way to get an unattended install
started
+ if "unattended_install" in params.get("shortname"):
+ first = 800
+ timeout = 3000
+ message = "waiting for guest to install"
+
+ session = kvm_utils.wait_for(vm.ssh_login, timeout, first, 2 ,message)
if not session:
raise error.TestFail("Could not log into guest")
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html