Change log message of VM login
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".
Signed-off-by Yolkfull Chow <[email protected]>
--- client/tests/kvm/kvm_test_utils.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/kvm_test_utils.py +1 -1
@@ -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