tst_QMutex[qnx]: increase system timer resolution

I don't know what it is but it's not 1, because it is quite
often flaky in these tests. A single failure leads to deadlock
that takes 5 minutes to fail. Then a rerun might do another
5 minutes and fail the integration, or it will pass but take
longer to do so.

Pick-to: 6.7 6.6 6.5
Change-Id: I188276df7800b00a20dbe39edee91c582f0a82a7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Mårten Nordheim 2024-03-05 14:39:15 +01:00
parent be6644c1f2
commit 6aee3342e9

View File

@ -61,6 +61,8 @@ static QSemaphore threadsTurn;
enum {
#ifdef Q_OS_WIN
systemTimersResolution = 16,
#elif defined(Q_OS_QNX)
systemTimersResolution = 10,
#else
systemTimersResolution = 1,
#endif