summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2019-03-11 15:56:51 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2019-06-13 04:18:18 +0000
commitfc9ae22c88dd085c7c31599037132fc756feeb04 (patch)
treef0d959bf028c409eb2b35063d9094081d146e1fb /examples
parent2c5d21be436ad5f2549cb1a6f40b185e159812a4 (diff)
downloadqtbase-5.13.0.tar.gz
tst_qsslsocket: fix racy testv5.13.0-rc3v5.13.05.13.0
In this threaded setup the server can sometimes have the data before it calls "waitForReadyRead", what happens then is that we fail the wait and as a result the test fails overall. Let's check if we actually got some data after all and then continue if we did. Since both the client and the server currently wait the same amount of time (2s) the max timeout for the client was increased by 0.5s so it has some time to notice that the server got the message. Change-Id: Ib5915958853413047aa5a7574712585bcae28f79 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit e79b1dcdf542be3a20d5c21ea163ff857ed875bf) Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit d53b8b77bc8de236e148ef2652806015a9a87e2b) Change-Id: I2f6ffb8e0a9b4d591edb6925e48baffcefc14511 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions