* [KVM-AUTOTEST PATCH] KVM test: kvm_tests: fix a litte bug in timedrift()
@ 2009-08-28 9:55 Cao, Chen
2009-08-28 17:30 ` [Autotest] " Lucas Meneghel Rodrigues
0 siblings, 1 reply; 2+ messages in thread
From: Cao, Chen @ 2009-08-28 9:55 UTC (permalink / raw)
To: lmr; +Cc: mgoldish, autotest, kvm, Cao, Chen
the original version compared a wrong drift value with given threshold.
Signed-off-by: Cao, Chen <kcao@redhat.com>
---
client/tests/kvm/kvm_tests.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_tests.py b/client/tests/kvm/kvm_tests.py
index b100269..4e3391e 100644
--- a/client/tests/kvm/kvm_tests.py
+++ b/client/tests/kvm/kvm_tests.py
@@ -773,7 +773,7 @@ def run_timedrift(test, params, env):
# Fail the test if necessary
if drift > drift_threshold:
raise error.TestFail("Time drift too large: %.2f%%" % drift)
- if drift > drift_threshold_after_rest:
+ if drift_total > drift_threshold_after_rest:
raise error.TestFail("Time drift too large after rest period: %.2f%%"
% drift_total)
--
1.6.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Autotest] [KVM-AUTOTEST PATCH] KVM test: kvm_tests: fix a litte bug in timedrift()
2009-08-28 9:55 [KVM-AUTOTEST PATCH] KVM test: kvm_tests: fix a litte bug in timedrift() Cao, Chen
@ 2009-08-28 17:30 ` Lucas Meneghel Rodrigues
0 siblings, 0 replies; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2009-08-28 17:30 UTC (permalink / raw)
To: Cao, Chen; +Cc: autotest, kvm
Ok, applied, thanks!
On Fri, Aug 28, 2009 at 6:55 AM, Cao, Chen<kcao@redhat.com> wrote:
> the original version compared a wrong drift value with given threshold.
>
> Signed-off-by: Cao, Chen <kcao@redhat.com>
> ---
> client/tests/kvm/kvm_tests.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/client/tests/kvm/kvm_tests.py b/client/tests/kvm/kvm_tests.py
> index b100269..4e3391e 100644
> --- a/client/tests/kvm/kvm_tests.py
> +++ b/client/tests/kvm/kvm_tests.py
> @@ -773,7 +773,7 @@ def run_timedrift(test, params, env):
> # Fail the test if necessary
> if drift > drift_threshold:
> raise error.TestFail("Time drift too large: %.2f%%" % drift)
> - if drift > drift_threshold_after_rest:
> + if drift_total > drift_threshold_after_rest:
> raise error.TestFail("Time drift too large after rest period: %.2f%%"
> % drift_total)
>
> --
> 1.6.0.6
>
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
--
Lucas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-28 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28 9:55 [KVM-AUTOTEST PATCH] KVM test: kvm_tests: fix a litte bug in timedrift() Cao, Chen
2009-08-28 17:30 ` [Autotest] " Lucas Meneghel Rodrigues
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.