<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 06/17/2014 11:14 AM, Varun Shastry
wrote:<br>
</div>
<blockquote cite="mid:539FD5BE.7010209@redhat.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<br>
<blockquote cite="mid:539FC631.3050003@redhat.com" type="cite">
<blockquote
cite="mid:1388160506.11894742.1402977106646.JavaMail.zimbra@redhat.com"
type="cite">
<div style="font-family: garamond,new york,times,serif;
font-size: 12pt; color: #000000">
<blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"
data-mce-style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal; text-decoration:
none; font-family: Helvetica,Arial,sans-serif; font-size:
12pt;"> > ----- Original Message -----<br>
>> hi,<br>
>> Could you guys remove 'sleep' for quota
tests authored by you guys<br>
>> if it can be done. They are leading to spurious
failures.<br>
</blockquote>
</div>
</blockquote>
</blockquote>
<br>
I don't get how sleep can cause the failures. But for script
bug-1087198.t in my name, it is part of the testing. I can reduce
it to a smaller value but we need to have the test which waits for
a small amount of time.<br>
</blockquote>
Sleeps are added to make sure a certain condition is met in that
time. Sometimes what happens is that the condition could take longer
to meet causing spurious failure. So we are going through the tests
and eliminating 'sleeps' that is not required. Or use better
expect_within statement to make sure the condition is met using
explicit tests.<br>
<br>
Pranith<br>
<blockquote cite="mid:539FD5BE.7010209@redhat.com" type="cite"> <br>
- Varun Shastry<br>
<br>
<blockquote cite="mid:539FC631.3050003@redhat.com" type="cite">
<blockquote
cite="mid:1388160506.11894742.1402977106646.JavaMail.zimbra@redhat.com"
type="cite">
<div style="font-family: garamond,new york,times,serif;
font-size: 12pt; color: #000000">
<blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"
data-mce-style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal; text-decoration:
none; font-family: Helvetica,Arial,sans-serif; font-size:
12pt;"> >> I will be sending out a patch removing
'sleep' in other tests.<br>
>><br>
>> Pranith<br>
>><br>
<div><br>
</div>
</blockquote>
<div><br>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>