make tst_QProcess::softExitInSlots pass in under 120 seconds
authorJoerg Bornemann <joerg.bornemann@nokia.com>
Fri, 20 Jan 2012 13:13:09 +0000 (14:13 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 20 Jan 2012 18:02:13 +0000 (19:02 +0100)
commitf66f2d2a202b32a703e2719e7eb91ee4d681220c
tree3c90b3cd5f45cbf65e4fd5cd1ad35c96781f7305
parentb3e18be580bc5eceea00594a62759566b1546d4d
make tst_QProcess::softExitInSlots pass in under 120 seconds

Due to unconditional waits this test always needed 120 seconds to pass.
Now we're using QTRY_VERIFY and make sure that we write the data before
the process got killed even in the cases 3 and 4.

Change-Id: I4718f2a4f3e53921716c639ae8041114234e9086
Reviewed-by: Bill King <bill.king@nokia.com>
tests/auto/qprocess/tst_qprocess.cpp