diff mbox

[KVM-AUTOTEST,3/5] KVM test: timedrift: first open ssh/rss sessions with the guest, then start load

Message ID 1269371401-9341-3-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish March 23, 2010, 7:09 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/tests/timedrift.py b/client/tests/kvm/tests/timedrift.py
index b3e8770..194f09c 100644
--- a/client/tests/kvm/tests/timedrift.py
+++ b/client/tests/kvm/tests/timedrift.py
@@ -98,8 +98,9 @@  def run_timedrift(test, params, env):
                     raise error.TestFail("Could not log into guest")
                 load_session.set_output_prefix("(guest load %d) " % i)
                 load_session.set_output_func(logging.debug)
-                load_session.sendline(guest_load_command)
                 guest_load_sessions.append(load_session)
+            for load_session in guest_load_sessions:
+                load_session.sendline(guest_load_command)
 
             # Run some load on the host
             logging.info("Starting load on host...")