diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-03-31 20:08:16 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-03-31 20:08:16 +0200 |
commit | 9a3687052eed88852eac0103c667cbad3406271c (patch) | |
tree | e8decdbb98306e170b390fff6b938a93c9d5bacd /cpp | |
parent | Fixed service instructions in the README (diff) | |
download | ice-9a3687052eed88852eac0103c667cbad3406271c.tar.bz2 ice-9a3687052eed88852eac0103c667cbad3406271c.tar.xz ice-9a3687052eed88852eac0103c667cbad3406271c.zip |
Fixed bug 2963
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/IceUtil/timer/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |