From 3ba663b5c6e85dbf45b08336bba6333e92555fe1 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 6 Nov 2012 23:58:14 +0000 Subject: Timer arguments are in milliseconds, not seconds. --- test/common/testcommon.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/common') diff --git a/test/common/testcommon.cpp b/test/common/testcommon.cpp index 782d149f..53ee7588 100644 --- a/test/common/testcommon.cpp +++ b/test/common/testcommon.cpp @@ -332,9 +332,9 @@ int test(int argc, const char *argv[]) Timers::Init(); Timer t0(0, "t0"); // should never expire - Timer t1(1, "t1"); - Timer t2(2, "t2"); - Timer t3(3, "t3"); + Timer t1(1000, "t1"); + Timer t2(2000, "t2"); + Timer t3(3000, "t3"); TEST_THAT(!t0.HasExpired()); TEST_THAT(!t1.HasExpired()); @@ -353,8 +353,8 @@ int test(int argc, const char *argv[]) TEST_THAT(t2.HasExpired()); TEST_THAT(!t3.HasExpired()); - t1 = Timer(1, "t1a"); - t2 = Timer(2, "t2a"); + t1 = Timer(1000, "t1a"); + t2 = Timer(2000, "t2a"); TEST_THAT(!t0.HasExpired()); TEST_THAT(!t1.HasExpired()); TEST_THAT(!t2.HasExpired()); -- cgit v1.2.3