<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 18, 2021 at 5:18 PM Jan Stancek <<a href="mailto:jstancek@redhat.com">jstancek@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">LTP commit 61312c62a392 ("open_posix/conformance/clock/1.1:<br>
Deterministic timing") changed test to busy loop for 5 seconds.<br>
This made the test sometimes fail in environments with high steal<br>
time.<br>
<br>
Move PASS condition inside loop, so in ideal case test can finish<br>
as soon as it has spent >1 sec of CPU time. Also drop the wrap-around<br>
check, since that takes order of minutes to happen.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Looks like more reliable than that 5sec busy loop, let's see how it performs then.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Signed-off-by: Jan Stancek <<a href="mailto:jstancek@redhat.com" target="_blank">jstancek@redhat.com</a>><br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Reviewed-by: Li Wang <<a href="mailto:liwang@redhat.com">liwang@redhat.com</a>></div><div class="gmail_default" style="font-size:small"><br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>