Fixed tst_qprocess, tst_qtcpserver when crashing is slow
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 1 Aug 2011 00:17:51 +0000 (10:17 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 1 Aug 2011 01:24:40 +0000 (03:24 +0200)
commit30eff894d9b31e0c800901e7334fed2401be0f1c
tree6da0d746b0b0f3ddab9fd91fff33e31d46308834
parent9d16ae8d2ce5478f7387ec70c70be46e76c85796
Fixed tst_qprocess, tst_qtcpserver when crashing is slow

These tests assumed that a crashing program will always exit within
five seconds.  This is not true in some situations.  On our test macs,
enabling crash dumps can easily cause a process to take longer than
five seconds to crash.

Increased the timeout to 30 seconds.

Change-Id: Ifca240ac8d3da1346f33110653ac47de6ba2ab81
Reviewed-on: http://codereview.qt.nokia.com/2407
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
tests/auto/qprocess/tst_qprocess.cpp
tests/auto/qtcpserver/tst_qtcpserver.cpp