diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-02-04 13:40:23 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-12 17:13:56 +0100 |
commit | abaa3cd246375df0573d5d2e3d5c1ea0b4be613f (patch) | |
tree | f29eb17542d4d8b5637c482ffa17b08583a20745 /src/webenginewidgets | |
parent | ab8cc57c21ab9b8d982728c5945586b562d84255 (diff) |
Fix flakiness in tests related to load signals being received while spinning the event loop
Since our sync wrappers spin an event loop, tests that assuming
that load signals would only be triggered in the next waitForSignal
can fail.
Replace ::waitForSignal calls with QTRY_COMPARE/VERIFY on the
QSignalSpy::count() instead to support the case where the signal
was already emitted before starting the wait.
Change-Id: I18246dc643a5280ebfd0b5099af10b10cf6845fe
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'src/webenginewidgets')
0 files changed, 0 insertions, 0 deletions