Skip to contentSkip to conversation

Change log message of VM login

PATCH New Yolkfull Chow 1 participant 1 message Sep 27, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Change log message of VM login

We may use this function 'wait_for_login' for several times in a case, only the first time login could be "Waiting guest to be up".

---
 client/tests/kvm/kvm_test_utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/kvm_test_utils.py +1 -1
index 601b350..aa3f2ee 100644
@@ -52,7 +52,7 @@ def wait_for_login(vm, nic_index=0, timeout=240):
     @param timeout: Time to wait before giving up.
     @return: A shell session object.
     """
-    logging.info("Waiting for guest '%s' to be up..." % vm.name)
+    logging.info("Try to login to guest '%s'..." % vm.name)
     session = kvm_utils.wait_for(lambda: vm.remote_login(nic_index=nic_index),
                                  timeout, 0, 2)
     if not session:
Signature · 1 line
1.6.2.5