diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-01-02 12:47:31 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-01-02 21:03:29 +0000 |
commit | 3986be6d98a09fa7854744253864a9e57486bbcf (patch) | |
tree | a75acd9596f74322136aa5f7805abbc09be6a6f8 /.qmake.conf | |
parent | 47784b4352351f042d1e3b61e7151cdcc7c0bac1 (diff) |
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>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions