qt5base-lts/tests/auto/network/bearer
Simon Hausmann 3986be6d98 Improve reliability of network bearer tests
May of the tests initiate a scan / update of the network configuration
and expect the API to deliver exactly one update. This turns out to be a
race condition as the update may be emitted multiple times, as
QNetworkConfigurationManagerPrivate::updateConfigurations() is called
via posted events (queued signal emissions) from the bearer thread, and
so after creating the spy we may receive an update from _before_ and end
up emitting the signal multiple times.

Task-number: QTQAINFRA-1040
Change-Id: I931e2907f0cb86d48b4ab1a8795d75206035ea11
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-01-02 21:03:29 +00:00
..
qnetworkconfiguration Improve reliability of network bearer tests 2017-01-02 21:03:29 +00:00
qnetworkconfigurationmanager Improve reliability of network bearer tests 2017-01-02 21:03:29 +00:00
qnetworkconfigurationmanagerqappless Updated license headers 2016-01-21 18:55:18 +00:00
qnetworksession Improve reliability of network bearer tests 2017-01-02 21:03:29 +00:00
bearer.pro Fix crash in QNetworkAccessManager. 2014-05-19 15:52:58 +02:00
qbearertestcommon.h Updated license headers 2016-01-21 18:55:18 +00:00