diff mbox

[KVM-AUTOTEST,1/6] KVM test: kvm_subprocess: use read_nonblocking(0) instead of read_nonblocking (0.1)

Message ID 1254254667-19385-1-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish Sept. 29, 2009, 8:04 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/kvm_subprocess.py b/client/tests/kvm/kvm_subprocess.py
index 424c801..730f20e 100755
--- a/client/tests/kvm/kvm_subprocess.py
+++ b/client/tests/kvm/kvm_subprocess.py
@@ -1028,7 +1028,7 @@  class kvm_shell_session(kvm_expect):
         """
         # Read all output that's waiting to be read, to make sure the output
         # we read next is in response to the newline sent
-        self.read_nonblocking(timeout=0.1)
+        self.read_nonblocking(timeout=0)
         # Send a newline
         self.sendline()
         # Wait up to timeout seconds for some output from the child
@@ -1095,7 +1095,7 @@  class kvm_shell_session(kvm_expect):
         logging.debug("Sending command: %s" % command)
 
         # Read everything that's waiting to be read
-        self.read_nonblocking(0.1)
+        self.read_nonblocking(timeout=0)
 
         # Send the command and get its output
         self.sendline(command)