diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-01-11 17:49:02 +0100 |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-01-11 17:53:22 +0100 |
commit | c69b85ebf532bf7daf0644f4b3d0b2a6c19ace1d (patch) | |
tree | 8b52f8d9ff3190d7a2376c3c08d1cf8fa5cee0cf /tests | |
parent | 14412557e7523ca39698ca4f4aa40ebe9c051d77 (diff) | |
download | qt4-tools-c69b85ebf532bf7daf0644f4b3d0b2a6c19ace1d.tar.gz |
tst_qhttpnetworkconnection: Relax condition in getMultipleWithPriorities
Test failed in 1 out of 5 cases. Relax the condition. It is not that
bad if some (max connection count + 1) low priority requests finish first.
Reviewed-by: Peter Hartmann
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp b/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp index 6fa09d5682..cafbc2ca0e 100644 --- a/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp +++ b/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp @@ -939,7 +939,7 @@ public Q_SLOTS: else QFAIL("Wrong priority!?"); - QVERIFY(highPrioReceived >= lowPrioReceived); + QVERIFY(highPrioReceived + 7 >= lowPrioReceived); if (highPrioReceived + lowPrioReceived == requestCount) QTestEventLoop::instance().exitLoop(); |