summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextdocument_p.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2019-03-11 15:56:51 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2019-03-26 13:08:18 +0000
commite79b1dcdf542be3a20d5c21ea163ff857ed875bf (patch)
treeb1d621e4a7d400b29fa13ccd34e9a02a9ccbf099 /src/gui/text/qtextdocument_p.cpp
parenta06dfed4cc94fefca3f0db7eca679f083a984c9b (diff)
tst_qsslsocket: fix racy test
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>
Diffstat (limited to 'src/gui/text/qtextdocument_p.cpp')
0 files changed, 0 insertions, 0 deletions