qt6-bb10/tests/auto/network/ssl
Mårten Nordheim fc9ae22c88 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>
(cherry picked from commit e79b1dcdf5)
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit d53b8b77bc)

Change-Id: I2f6ffb8e0a9b4d591edb6925e48baffcefc14511
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2019-06-13 04:18:18 +00:00
..
qasn1element QAsn1Element - fix toDateTime function 2017-07-18 13:09:16 +00:00
qdtls tst_qdtls: add 'invalidConfiguration' test 2018-08-10 12:18:41 +00:00
qdtlscookie QDtls - refactor 2018-07-26 15:13:57 +00:00
qocsp Add tst_QOcsp auto-test 2018-12-06 05:14:45 +00:00
qpassworddigestor Introduce QPasswordDigestor functions 2018-04-23 12:55:45 +00:00
qsslcertificate Schannel support 2019-01-22 15:19:48 +00:00
qsslcipher prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qssldiffiehellmanparameters prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslellipticcurve prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslerror prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslkey Merge remote-tracking branch 'origin/5.12' into 5.13 2019-03-11 01:00:06 +01:00
qsslsocket tst_qsslsocket: fix racy test 2019-06-13 04:18:18 +00:00
qsslsocket_onDemandCertificates_member Remove blacklisting of tst_qsslsocket_onDemandCertificates_member 2019-03-27 16:57:06 +00:00
qsslsocket_onDemandCertificates_static prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
ssl.pro Add tst_QOcsp auto-test 2018-12-06 05:14:45 +00:00