c6bee8e4b2
If the deadline is far in the future, the conversions to nanoseconds or internal arithmetic may overflow and give an invalid object, thus the deadline may end up in the past. Added a test to the testlib selftest for sleep. [ChangeLog][QtCore][QDeadlineTimer] Fixed integer overflows leading to immediate timeouts. Task-number: QTBUG-69750 Change-Id: I9814eccdf9f9b3add9ca66ec3e27e10cd5ad54a8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
11 lines
631 B
Plaintext
11 lines
631 B
Plaintext
##teamcity[testSuiteStarted name='tst_Sleep' flowId='tst_Sleep']
|
|
##teamcity[testStarted name='initTestCase()' flowId='tst_Sleep']
|
|
##teamcity[testFinished name='initTestCase()' flowId='tst_Sleep']
|
|
##teamcity[testStarted name='sleep()' flowId='tst_Sleep']
|
|
##teamcity[testFinished name='sleep()' flowId='tst_Sleep']
|
|
##teamcity[testStarted name='wait()' flowId='tst_Sleep']
|
|
##teamcity[testFinished name='wait()' flowId='tst_Sleep']
|
|
##teamcity[testStarted name='cleanupTestCase()' flowId='tst_Sleep']
|
|
##teamcity[testFinished name='cleanupTestCase()' flowId='tst_Sleep']
|
|
##teamcity[testSuiteFinished name='tst_Sleep' flowId='tst_Sleep']
|