test: improved stability of tst_qwaitcondition
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 2 Aug 2011 00:22:08 +0000 (10:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 05:37:03 +0000 (07:37 +0200)
commit6e745ecda73c360195de8760473eca88b31f87cf
tree9ef16d02abb21706d034d2a707e4b15514be403d
parent7e57389a5bd1281751051a17bd28f5ebb3c07bb8
test: improved stability of tst_qwaitcondition

Increased thread wait timeout from 3 to 10 milliseconds, for slower or
heavily loaded machines.  (There was a previous attempt to improve
stability of this test some time ago by increasing the timeout from 1
to 3 milliseconds.)

Note that this increases the runtime of the wakeOne test from ~5 to ~14
seconds.

Change-Id: Ib556d4c949a6989fe71c11f5dc10feb2ec45c512
Reviewed-on: http://codereview.qt.nokia.com/2458
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
tests/auto/qwaitcondition/tst_qwaitcondition.cpp