From 9a3687052eed88852eac0103c667cbad3406271c Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Mon, 31 Mar 2008 20:08:16 +0200 Subject: Fixed bug 2963 --- cpp/test/IceUtil/timer/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/test/IceUtil/timer/Client.cpp') diff --git a/cpp/test/IceUtil/timer/Client.cpp b/cpp/test/IceUtil/timer/Client.cpp index 84374daa031..1af264b6120 100644 --- a/cpp/test/IceUtil/timer/Client.cpp +++ b/cpp/test/IceUtil/timer/Client.cpp @@ -177,7 +177,7 @@ int main(int argc, char* argv[]) test(timer->cancel(task)); int count = task->getCount(); IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(100)); - test(count == task->getCount()); + test(count == task->getCount() || count + 1 == task->getCount()); } timer->destroy(); -- cgit v1.2.3